bump-sh-examples / train-travel-api

Sample OpenAPI description to use for whatever you like, as a hopefully more modern and useful alternative to the Petstore.
https://bump.sh/bump-examples/doc/train-travel-api
Other
52 stars 7 forks source link

fix: add url to the license to match redocly linting #18

Closed CoolGoose closed 5 months ago

CoolGoose commented 5 months ago

Maybe it's just a bit nitpicky, but I think it does make sense especially as a 'this is a nice starter kit to understand openapi design'

philsturgeon commented 5 months ago

I've noticed this mistake in Redocly Linting before but never got around to reporting it.

The license object allows either identifier or url, but not both.

image

So it's currently valid, and making this change would make it invalid.

Thanks for taking the time to make the contribution!