You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add identifier, as a mutually exclusive field, to License
This adds the identifier field to License - as outlined in the OpenAPI
3.1 Specification [1].
A couple of things I considered doing for this, but ultimately didn't
do, were:
- Determine whether the SPDX license expression format could be
validated with a regex. It looked like it probably could but not sure
if we want to be that strict.
- Add a hook in that would allow us to decide which OpenAPI versions
would use the mutually_exclusive DSL method. I decided this wasn't
necessary for now since the only benefit seems to be a slightly nicer
error message.
0 commit comments