You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.
@ApiOperation(httpMethod = "PUT",
response = classOf[String],
value = "Copies the version constraints from one environment to another")
@ApiImplicitParams(Array(
new ApiImplicitParam(name = "src", required = true, dataType = "string", paramType = "form", value = "The source environment"),
new ApiImplicitParam(name = "dest", required = true, dataType = "string", paramType = "form", value = "The destination environment)")))
@ApiOperation(httpMethod = "PUT",
response = classOf[String],
value = "Freezes the version constraints of an environment to a given set (or, by default, to the latest)")
@ApiImplicitParams(Array(
new ApiImplicitParam(name = "systemName", required = true, dataType = "string", paramType = "path", value = "The name of the glue system (typically something like customerName-level)"),
new ApiImplicitParam(name = "versions", required = true, dataType = "Map[String, String]", paramType = "form", value = "A map of cookbook to version")))
In the swagger-ui, I do not see the paths correctly, the paths I see look like this:
/SystemBuilder | Copies the version constraints from one environment to another
and
/SystemBuilder/{systemName} | Freezes the version constraints of an environment to a given set (or, by default, to the latest)
So of course, the "try it out" button doesn't work either.
Is there something I'm missing in the documentation? maybe an additional ApiImplicitParam?
Thanks,
Roberto
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
So here are some of my routes:
@ApiOperation(httpMethod = "PUT",
response = classOf[String],
value = "Copies the version constraints from one environment to another")
@ApiImplicitParams(Array(
new ApiImplicitParam(name = "src", required = true, dataType = "string", paramType = "form", value = "The source environment"),
new ApiImplicitParam(name = "dest", required = true, dataType = "string", paramType = "form", value = "The destination environment)")))
def chefCopyVersionConstraints = path("SystemBuilder" / "copyVersionConstraints") {
@ApiOperation(httpMethod = "PUT",
response = classOf[String],
value = "Freezes the version constraints of an environment to a given set (or, by default, to the latest)")
@ApiImplicitParams(Array(
new ApiImplicitParam(name = "systemName", required = true, dataType = "string", paramType = "path", value = "The name of the glue system (typically something like customerName-level)"),
new ApiImplicitParam(name = "versions", required = true, dataType = "Map[String, String]", paramType = "form", value = "A map of cookbook to version")))
def awsUpdateNodes = path("SystemBuilder" / ".*".r / "freeze") {
In the swagger-ui, I do not see the paths correctly, the paths I see look like this:
/SystemBuilder | Copies the version constraints from one environment to another
and
/SystemBuilder/{systemName} | Freezes the version constraints of an environment to a given set (or, by default, to the latest)
So of course, the "try it out" button doesn't work either.
Is there something I'm missing in the documentation? maybe an additional ApiImplicitParam?
Thanks,
Roberto
The text was updated successfully, but these errors were encountered: