Closed jackelder closed 3 years ago
@phil-lindstedt noted that the id
field had type integer
in several spots in the spec when it should be string
so I changed those. I also made some fixes to the response object structures.
@phil-lindstedt noted that the
id
field had typeinteger
in several spots in the spec when it should bestring
so I changed those. I also made some fixes to the response object structures.
@jackelder @phil-lindstedt thank you!
When importing the swagger spec into Insomnia or Postman, the
basePath
adds an extra/
to the URLs, since each of the paths already includes a leading/
.For example, the films URL is imported as
https://ghibliapi.herokuapp.com//films
rather thanhttps://ghibliapi.herokuapp.com/films
I removed the base path so that the correct paths are imported. This doesn't impact the URLs displayed by redoc (it looks like redoc wasn't including the
basePath
).