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
An SPDX license expression for the API. The identifier field is mutually exclusive of the url field.
Example:
openapi: 3.1.0info:
title: Example specificationversion: "1.0"license:
name: Eclipse Public License 2.0identifier: EPL-2.0servers:
- url: http://localhost:8080/paths:
/ping:
get:
operationId: pingresponses:
200:
description: OK
To be added:
The model interface License.java: new methods (getter, setter, builder)
The annotation definition License.java: new method
TCK tests
As previously discussed (#339 or #331), it is not the role of the MicroProfile OpenAPI to add checks to ensure that identifier and url can not be set simultaneously. This is up to the vendor.
The text was updated successfully, but these errors were encountered:
In order to support OpenAPI 3.1.0 (see #333) we need to add
identifier
to the License object.Reference: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#licenseObject
Example:
To be added:
As previously discussed (#339 or #331), it is not the role of the MicroProfile OpenAPI to add checks to ensure that
identifier
andurl
can not be set simultaneously. This is up to the vendor.The text was updated successfully, but these errors were encountered: