REST API Swagger representation cannot be loaded with SwaggerUI #32649

Closed
arun-gupta opened this Issue Apr 17, 2017 · 2 comments

Comments

Projects
None yet
3 participants
@arun-gupta
Contributor

arun-gupta commented Apr 17, 2017

Docker REST API 1.27 cannot be loaded with the SwaggerUI. It gives the error:

{
"messages": [
"attribute definitions.RestartPolicy.default is not of type `string`"
]
}

The error can be seen at https://online.swagger.io/validator/debug?url=https://docs.docker.com/engine/api/v1.27/swagger.yaml.

@jgallen23

This comment has been minimized.

Show comment
Hide comment
@jgallen23

jgallen23 Jun 29, 2017

Same with the newest API version

Same with the newest API version

@thaJeztah

This comment has been minimized.

Show comment
Hide comment
@thaJeztah

thaJeztah Jul 25, 2017

Member

I opened #34247 which looks to resolve the issue; I think it's find to omit the default there, but let me know if there's an issue in removing it

Member

thaJeztah commented Jul 25, 2017

I opened #34247 which looks to resolve the issue; I think it's find to omit the default there, but let me know if there's an issue in removing it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment