provide API versions history #4866
adam-lipovsky
started this conversation in
General
Replies: 1 comment
-
Swagger UI is a different project maintained at https://github.com/swagger-api/swagger-ui. You might want to ask your question there. This repo is for maintaining and evolving the tool-independent OpenAPI specification. Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there
I found usefull to give a info about actual version and some brief history to an API consumer. Now, every API module has endpoints
/watchdog
,/openapi
and/versions
.GET /versions
gives json which looks like this:Description is formated in markdown.
This code is (like
/openapi
) dynamicaly generated. So the advantage of giving an API consumer info about history and actual changelist lays in the fact that the developer knows anytime what he/she is working with and if required feature is already implemented or not.The problem: what is best way to include these informations in openapi documentation? Something like the dev opens Swagger and see it formated. I know about extensions (like including this json in "x-api-history"), but these are ignored by Swagger and there has to be some Swagger plugin development. Doesn't exist something like that nowadays? Or what do you see as preferable solution?
Thanks for advices and have a fine day :)
Adam L.
Beta Was this translation helpful? Give feedback.
All reactions