-
Notifications
You must be signed in to change notification settings - Fork 29
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
Remove basePath in servers.url as variable #199
Comments
Hi @jlurien I agree with you, but ... There is a specific issue for If a common naming convention was adopted for this revised basepath naming was adopted, then the above scheme would work. But the workaround is just for implementors to go and change it anyway to a value of their choice, in which case the This being discussed as part of the release management issue, so that needs to be concluded before we can take this proposal to PR. |
The proposed closure is to
example
This is described in the API versioning here: API versioning With that I think this issue can be transferred back to Commonalities to update the API guidelines with the above information. |
Transferred back to Commonalities as agreed within https://wiki.camaraproject.org/display/CAM/2024-05-14+Release+WG+Minutes, as the changes have to done in Commonalities. |
Problem description
I noticed that we are misusing variables in servers.url properties in most API definitions.
Commonly we define
servers
as, e.g.:But
basePath
which is the api-name and major version is not something that may be changed by the client.default
is defined in OAS as:default
, this value MUST be provided by the consumer.We are not allowing an alternate value to be supplied by the API client, so this part of the
servers.url
must be fixed.Possible evolution
Proposal is to redefine
servers
as, e.g.:The text was updated successfully, but these errors were encountered: