Skip to content

Commit

Permalink
Merge branch 'master' into 172-add-support-for-conda-lock-file
Browse files Browse the repository at this point in the history
  • Loading branch information
munishchouhan authored Oct 4, 2024
2 parents 2fa48fd + 5b5697f commit affceb4
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions typespec/routes.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,16 @@ namespace wave {
@route("validate-creds")
@post op validateCreds(@body request: ValidateRegistryCredsRequest): boolean;

@route("/v1alpha1/mirrors/{mirrorId}")
interface getMirrorRecord {
@post op inspectContainer(@path mirrorId: string): {
@body response: ContainerMirrorResponse;
@statusCode statusCode: 200;
}|{
@statusCode statusCode: 404;
};

}
@route("/v1alpha1/mirrors")
interface getMirrorRecord {

@route("/{mirrorId}")
@get op containerMirror(@path mirrorId: string): {
@body response: ContainerMirrorResponse;
@statusCode statusCode: 200;
}|{
@statusCode statusCode: 404;
};
}

}

0 comments on commit affceb4

Please sign in to comment.