Skip to content
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

OpenAPI 3.1.0 support: add support for Lincense.identifier field #8487

Closed
char0n opened this issue Mar 20, 2023 · 1 comment
Closed

OpenAPI 3.1.0 support: add support for Lincense.identifier field #8487

char0n opened this issue Mar 20, 2023 · 1 comment

Comments

@char0n
Copy link
Member

char0n commented Mar 20, 2023

The goal of this issue is to add support for License.idenfitier field.

Proposed solution: nothing changes from rendering perspective.

If definition author supplies License.url field we render it as before.
If definition author supplies License.identifier field, we compute SPDX url and render it as before
If definition author supplies both License.url and License.identifier, License.url is used to render the link

@char0n
Copy link
Member Author

char0n commented Mar 20, 2023

If License.identifier is provided, renders as following image with this link: https://spdx.org/licenses/Apache-2.0.html

image

@char0n char0n closed this as completed Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant