-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Capabilities API #156
Comments
Would providing a specific openapi spec file not do the job? Maybe we could provide a well-known URI for that file and go from there? |
As a default for supported methods we could use OPTIONS http method for each endpoints as by specs. |
Here are a couple of vocabulary based approaches: https://www.odata.org/blog/introducing-a-capabilities-vocabulary/ These approaches look to define a data model for capabilities. They dont have wide adoption that I have seen but could be seen as input to a data model for describing capabilities. Other options leading on from comments above: Service endpoints could just publish a Open API document that described only the services capabilities they actually had. The nice thing about this approach would be that the complete swagger document could be published as a standard and then implementors just cut away what they are not supporting. |
I think there are different use cases that could be considered for finding out about API capabilities:
|
No use case for this at present. |
Referenced in #154 and earlier discussions, it would be useful to have a mechanism to determine:
And perhaps other things too.
Please submit your suggestions as comments to this issue.
The text was updated successfully, but these errors were encountered: