Skip to content

Commit 5db8757

Browse files
authored
Merge pull request #607 from benjamin-confino/606-update-version-spec
update version number in spec and references to spec
2 parents 632268f + a0068d1 commit 5db8757

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+162
-204
lines changed

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
image:https://github.com/eclipse/microprofile-open-api/workflows/Build/badge.svg?branch=master[link=https://github.com/eclipse/microprofile-open-api/actions]
2323

24-
This MicroProfile specification aims at providing a unified Java API for the link:++https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md++[OpenAPI v3 specification],
24+
This MicroProfile specification aims at providing a unified Java API for the link:++https://spec.openapis.org/oas/v3.1.0.html++[OpenAPI v3.1 specification],
2525
that all application developers can use to expose their API documentation.
2626

2727
* The link:++https://github.com/eclipse/microprofile-open-api/tree/master/api/src/main/java/org/eclipse/microprofile/openapi++[spec APIs] are composed of annotations, models, and programming interfaces.

api/src/main/java/org/eclipse/microprofile/openapi/annotations/Components.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
* Describes the Components object that holds various reusable objects for different aspects of the OpenAPI
3737
* Specification (OAS).
3838
*
39-
* @see <a href= "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#componentsObject"> OpenAPI
40-
* Specification Components Object</a>
39+
* @see <a href= "https://spec.openapis.org/oas/v3.1.0.html#components-object"> OpenAPI Specification Components
40+
* Object</a>
4141
*/
4242
@Target({})
4343
@Retention(RetentionPolicy.RUNTIME)

api/src/main/java/org/eclipse/microprofile/openapi/annotations/ExternalDocumentation.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,8 @@
3535
* OpenAPI document root. If more than one non-empty annotation is applied to a type in the application or if the
3636
* externalDocs field of the OpenAPIDefinition annotation is supplied the results are not defined.
3737
*
38-
* @see <a href=
39-
* "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#externalDocumentationObject">OpenAPI
40-
* Specification External Documentation Object</a>
38+
* @see <a href= "https://spec.openapis.org/oas/v3.1.0.html#external-documentation-object">OpenAPI Specification
39+
* External Documentation Object</a>
4140
**/
4241
@Target({ElementType.METHOD, ElementType.TYPE})
4342
@Retention(RetentionPolicy.RUNTIME)

api/src/main/java/org/eclipse/microprofile/openapi/annotations/OpenAPIDefinition.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@
3535
* <p>
3636
* This is the root document object of the OpenAPI document. It contains required and optional fields.
3737
*
38-
* @see <a href= "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#openapi-object">OpenAPI
39-
* Specification OpenAPI Object</a>
38+
* @see <a href= "https://spec.openapis.org/oas/v3.1.0.html#openapi-object">OpenAPI Specification OpenAPI Object</a>
4039
*/
4140

4241
@Target({ElementType.TYPE, ElementType.PACKAGE})

api/src/main/java/org/eclipse/microprofile/openapi/annotations/Operation.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
/**
2929
* Describes a single API operation on a path.
3030
*
31-
* @see <a href= "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#operationObject">OpenAPI
32-
* Specification Operation Object</a>
31+
* @see <a href= "https://spec.openapis.org/oas/v3.1.0.html#operation-object">OpenAPI Specification Operation Object</a>
3332
**/
3433
@Target({ElementType.METHOD})
3534
@Retention(RetentionPolicy.RUNTIME)

api/src/main/java/org/eclipse/microprofile/openapi/annotations/callbacks/Callback.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
/**
3030
* This object represents a callback URL that will be invoked.
3131
*
32-
* @see <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#callbackObject">OpenAPI
33-
* Specification Callback Object</a>
32+
* @see <a href="https://spec.openapis.org/oas/v3.1.0.html#callback-object">OpenAPI Specification Callback Object</a>
3433
**/
3534
@Target({ElementType.METHOD, ElementType.TYPE})
3635
@Retention(RetentionPolicy.RUNTIME)

api/src/main/java/org/eclipse/microprofile/openapi/annotations/callbacks/CallbackOperation.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@
3333
/**
3434
* Describes a single API callback operation.
3535
*
36-
* @see <a href= "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#operationObject">OpenAPI
37-
* Specification Operation Object</a>
36+
* @see <a href= "https://spec.openapis.org/oas/v3.1.0.html#operation-object">OpenAPI Specification Operation Object</a>
3837
**/
3938
@Target({})
4039
@Retention(RetentionPolicy.RUNTIME)

api/src/main/java/org/eclipse/microprofile/openapi/annotations/callbacks/Callbacks.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626
/**
2727
* This object represents an array of Callback URLs that can be invoked.
2828
*
29-
* @see <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#callbackObject">OpenAPI
30-
* Specification Callback Object</a>
29+
* @see <a href="https://spec.openapis.org/oas/v3.1.0.html#callback-object">OpenAPI Specification Callback Object</a>
3130
**/
3231
@Target({ElementType.METHOD})
3332
@Retention(RetentionPolicy.RUNTIME)

api/src/main/java/org/eclipse/microprofile/openapi/annotations/headers/Header.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
/**
2929
* Describes a single header object
3030
*
31-
* @see <a href= "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#header-object">OpenAPI
32-
* Specification Header Object</a>
31+
* @see <a href= "https://spec.openapis.org/oas/v3.1.0.html#header-object">OpenAPI Specification Header Object</a>
3332
**/
3433
@Target({})
3534
@Retention(RetentionPolicy.RUNTIME)

api/src/main/java/org/eclipse/microprofile/openapi/annotations/info/Contact.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
/**
2828
* Contact information for the exposed API.
2929
*
30-
* @see "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#contactObject"
30+
* @see <a href="https://spec.openapis.org/oas/v3.1.0.html#contact-object">OpenAPI Specification Contact Object</a>
3131
**/
3232
@Target({})
3333
@Retention(RetentionPolicy.RUNTIME)

api/src/main/java/org/eclipse/microprofile/openapi/annotations/info/Info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
/**
2828
* This annotation provides metadata about the API, and maps to the Info object in OpenAPI Specification 3.
2929
*
30-
* @see "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#infoObject"
30+
* @see <a href="https://spec.openapis.org/oas/v3.1.0.html#info-object">OpenAPI Specification Info Object</a>
3131
**/
3232
@Target({})
3333
@Retention(RetentionPolicy.RUNTIME)

api/src/main/java/org/eclipse/microprofile/openapi/annotations/info/License.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
/**
2828
* License information for the exposed API.
2929
*
30-
* @see "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#licenseObject"
30+
* @see <a href="https://spec.openapis.org/oas/v3.1.0.html#license-object">OpenAPI Specification License Object</a>
3131
**/
3232
@Target({})
3333
@Retention(RetentionPolicy.RUNTIME)

api/src/main/java/org/eclipse/microprofile/openapi/annotations/links/Link.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@
3030
* caller's ability to successfully invoke it, rather it provides a known relationship and traversal mechanism between
3131
* responses and other operations.
3232
*
33-
* @see <a href= "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#linkObject"> OpenAPI
34-
* Specification Link Object</a>
33+
* @see <a href= "https://spec.openapis.org/oas/v3.1.0.html#link-object"> OpenAPI Specification Link Object</a>
3534
**/
3635
@Target({})
3736
@Retention(RetentionPolicy.RUNTIME)

api/src/main/java/org/eclipse/microprofile/openapi/annotations/media/Content.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
/**
2828
* This object provides schema and examples for a particular media type.
2929
*
30-
* @see <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#mediaTypeObject">OpenAPI
31-
* Specification Media Type Object</a>
30+
* @see <a href="https://spec.openapis.org/oas/v3.1.0.html#media-type-object">OpenAPI Specification Media Type
31+
* Object</a>
3232
**/
3333
@Target({})
3434
@Retention(RetentionPolicy.RUNTIME)

api/src/main/java/org/eclipse/microprofile/openapi/annotations/media/DiscriminatorMapping.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,8 @@
2525
/**
2626
* This object maps payload values to a particular Schema.
2727
*
28-
* @see <a href=
29-
* "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#discriminator-object">OpenAPI
30-
* Specification Discriminator Object</a>
28+
* @see <a href= "https://spec.openapis.org/oas/v3.1.0.html#discriminator-object">OpenAPI Specification Discriminator
29+
* Object</a>
3130
**/
3231
@Target({})
3332
@Retention(RetentionPolicy.RUNTIME)

api/src/main/java/org/eclipse/microprofile/openapi/annotations/media/Encoding.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
/**
2929
* Single encoding definition to be applied to single Schema Object
3030
*
31-
* @see <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#encodingObject">Encoding
32-
* Object</a>
31+
* @see <a href="https://spec.openapis.org/oas/v3.1.0.html#encoding-object">OpenAPI Specification Encoding Object</a>
3332
**/
3433

3534
@Target({})

api/src/main/java/org/eclipse/microprofile/openapi/annotations/media/ExampleObject.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
/**
2828
* This object illustrates an example of a particular content
2929
*
30-
* @see <a href= "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#exampleObject">OpenAPI
31-
* Specification Example Object</a>
30+
* @see <a href= "https://spec.openapis.org/oas/v3.1.0.html#example-object">OpenAPI Specification Example Object</a>
3231
**/
3332
@Target({})
3433
@Retention(RetentionPolicy.RUNTIME)

api/src/main/java/org/eclipse/microprofile/openapi/annotations/media/Schema.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@
4545
* <li>{@link Void} to indicate that the schema should not be included at all (this is the default for most parameters)
4646
* </ul>
4747
*
48-
* @see <a href= "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#schemaObject">OpenAPI
49-
* Specification Schema Object</a>
48+
* @see <a href= "https://spec.openapis.org/oas/v3.1.0.html#schema-object">OpenAPI Specification Schema Object</a>
5049
**/
5150
@Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER, ElementType.TYPE})
5251
@Retention(RetentionPolicy.RUNTIME)

api/src/main/java/org/eclipse/microprofile/openapi/annotations/media/SchemaProperty.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@
3333
*
3434
* This object is an extended subset of the JSON Schema draft specification 2020-12.
3535
*
36-
* @see <a href= "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#schemaObject">OpenAPI
37-
* Specification Schema Object</a>
36+
* @see <a href= "https://spec.openapis.org/oas/v3.1.0.html#schema-object">OpenAPI Specification Schema Object</a>
3837
*
3938
* @since 2.0
4039
**/

api/src/main/java/org/eclipse/microprofile/openapi/annotations/parameters/Parameter.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@
3535
/**
3636
* Describes a single operation parameter
3737
*
38-
* @see <a href= "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#parameterObject">OpenAPI
39-
* Specification Parameter Object</a>
38+
* @see <a href= "https://spec.openapis.org/oas/v3.1.0.html#parameter-object">OpenAPI Specification Parameter Object</a>
4039
**/
4140
@Target({ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD})
4241
@Retention(RetentionPolicy.RUNTIME)

api/src/main/java/org/eclipse/microprofile/openapi/annotations/parameters/Parameters.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626
/**
2727
* This object encapsulates input parameters
2828
*
29-
* @see <a href= "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#parameterObject">OpenAPI
30-
* Specification Parameter Object</a>
29+
* @see <a href= "https://spec.openapis.org/oas/v3.1.0.html#parameter-object">OpenAPI Specification Parameter Object</a>
3130
*/
3231
@Retention(RetentionPolicy.RUNTIME)
3332
@Target({ElementType.METHOD})

api/src/main/java/org/eclipse/microprofile/openapi/annotations/parameters/RequestBody.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
/**
3030
* Describes a single request body.
3131
*
32-
* @see <a href=
33-
* "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#requestBodyObject">requestBody
32+
* @see <a href= "https://spec.openapis.org/oas/v3.1.0.html#request-body-object">OpenAPI Specification Request Body
3433
* Object</a>
3534
**/
3635
@Target({ElementType.PARAMETER, ElementType.METHOD})

api/src/main/java/org/eclipse/microprofile/openapi/annotations/parameters/RequestBodySchema.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@
5858
* </pre>
5959
*
6060
* @see RequestBody
61-
* @see <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#requestBodyObject">OpenAPI
62-
* requestBody Object</a>
61+
* @see <a href="https://spec.openapis.org/oas/v3.1.0.html#request-body-object">OpenAPI Specification Request Body
62+
* Object</a>
6363
**/
6464
@Target({ElementType.PARAMETER, ElementType.METHOD})
6565
@Retention(RetentionPolicy.RUNTIME)

api/src/main/java/org/eclipse/microprofile/openapi/annotations/responses/APIResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
* }
7070
* </pre>
7171
*
72-
* @see "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#responseObject"
72+
* @see <a href="https://spec.openapis.org/oas/v3.1.0.html#response-object">OpenAPI Specification Response Object</a>
7373
*
7474
**/
7575
@Target({ElementType.METHOD, ElementType.TYPE})

api/src/main/java/org/eclipse/microprofile/openapi/annotations/responses/APIResponseSchema.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
*
5959
* @since 2.0
6060
* @see APIResponse
61-
* @see "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#responseObject"
61+
* @see <a href="https://spec.openapis.org/oas/v3.1.0.html#response-object">OpenAPI Specification Response Object</a>
6262
*
6363
**/
6464
@Target({ElementType.METHOD})

api/src/main/java/org/eclipse/microprofile/openapi/annotations/responses/APIResponses.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
* The ApiResponses annotation is a container for @ApiResponse annotations. When used on a method it is treated as if
2929
* each ApiResponse annotation were applied individually.
3030
*
31-
* @see <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#responses-object">Responses
32-
* Object</a>
31+
* @see <a href="https://spec.openapis.org/oas/v3.1.0.html#responses-object">OpenAPI Specification Responses Object</a>
3332
**/
3433
@Target({ElementType.METHOD, ElementType.TYPE})
3534
@Retention(RetentionPolicy.RUNTIME)

api/src/main/java/org/eclipse/microprofile/openapi/annotations/security/OAuthFlow.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
/**
2828
* Configuration details for a supported OAuth Flow.
2929
*
30-
* @see <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#oauthFlowObject"> OAuth Flow
30+
* @see <a href="https://spec.openapis.org/oas/v3.1.0.html#oauth-flow-object">OpenAPI Specification OAuth Flow
3131
* Object</a>
3232
**/
3333
@Target({})

api/src/main/java/org/eclipse/microprofile/openapi/annotations/security/OAuthFlows.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
/**
2828
* Allows configuration of the supported OAuth Flows.
2929
*
30-
* @see <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#oauthFlowsObject">OAuthFlows
30+
* @see <a href="https://spec.openapis.org/oas/v3.1.0.html#oauth-flows-object">OpenAPI Specification OAuth Flows
3131
* Object</a>
3232
**/
3333
@Target({})

api/src/main/java/org/eclipse/microprofile/openapi/annotations/security/OAuthScope.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
/**
2626
* Represents an OAuth scope.
2727
*
28-
* @see <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#oauthFlowObject">OAuthFlow
28+
* @see <a href="https://spec.openapis.org/oas/v3.1.0.html#oauth-flow-object">OpenAPI Specification OAuth Flow
2929
* Object</a>
3030
**/
3131
@Target({})

api/src/main/java/org/eclipse/microprofile/openapi/annotations/security/SecurityRequirement.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,8 @@
3030
* Applying this annotation to a method or class is equivalent to applying a {@link SecurityRequirementsSet} annotation
3131
* containing only this annotation.
3232
*
33-
* @see <a href=
34-
* "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#security-requirement-object">SecuirtyRequirement
35-
* Object</a>
33+
* @see <a href= "https://spec.openapis.org/oas/v3.1.0.html#security-requirement-object">OpenAPI Specification Security
34+
* Requirement Object</a>
3635
**/
3736
@Target({ElementType.METHOD, ElementType.TYPE})
3837
@Retention(RetentionPolicy.RUNTIME)

api/src/main/java/org/eclipse/microprofile/openapi/annotations/security/SecurityRequirements.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,8 @@
3535
* - api_secret: []
3636
* </pre>
3737
*
38-
* @see <a href=
39-
* "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#security-requirement-object">SecurityRequirement
40-
* Object</a>
38+
* @see <a href= "https://spec.openapis.org/oas/v3.1.0.html#security-requirement-object">OpenAPI Specification Security
39+
* Requirement Object</a>
4140
**/
4241
@Target({ElementType.METHOD, ElementType.TYPE})
4342
@Retention(RetentionPolicy.RUNTIME)

api/src/main/java/org/eclipse/microprofile/openapi/annotations/security/SecurityRequirementsSet.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,8 @@
5353
* oauth_implicit: []
5454
* </pre>
5555
*
56-
* @see <a href=
57-
* "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#security-requirement-object">SecurityRequirement
58-
* Object</a>
56+
* @see <a href= "https://spec.openapis.org/oas/v3.1.0.html#security-requirement-object">OpenAPI Specification Security
57+
* Requirement Object</a>
5958
**/
6059
@Target({ElementType.METHOD, ElementType.TYPE})
6160
@Retention(RetentionPolicy.RUNTIME)

api/src/main/java/org/eclipse/microprofile/openapi/annotations/security/SecurityRequirementsSets.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,8 @@
4949
* - api_secret: []
5050
* </pre>
5151
*
52-
* @see <a href=
53-
* "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#security-requirement-object">SecurityRequirement
54-
* Object</a>
52+
* @see <a href= "https://spec.openapis.org/oas/v3.1.0.html#security-requirement-object">OpenAPI Specification Security
53+
* Requirement Object</a>
5554
**/
5655
@Retention(RUNTIME)
5756
@Target({TYPE, METHOD})

api/src/main/java/org/eclipse/microprofile/openapi/annotations/security/SecurityScheme.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
* (either as a header or as a query parameter), OAuth2's common flows (implicit, password, application and access code)
3434
* as defined in RFC6749, and OpenID Connect Discovery.
3535
*
36-
* @see "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#security-scheme-object"
36+
* @see <a href="https://spec.openapis.org/oas/v3.1.0.html#security-scheme-object">OpenAPI Specification Security Scheme
37+
* Object</a>
3738
**/
3839
@Target({ElementType.METHOD, ElementType.TYPE})
3940
@Retention(RetentionPolicy.RUNTIME)

api/src/main/java/org/eclipse/microprofile/openapi/annotations/security/SecuritySchemes.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
/**
2626
* This object represents an array of SecurityScheme annotations that can be specified at the definition level.
2727
*
28-
* @see "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#security-scheme-object"
28+
* @see <a href="https://spec.openapis.org/oas/v3.1.0.html#security-scheme-object">OpenAPI Specification Security Scheme
29+
* Object</a>
2930
**/
3031
@Target({ElementType.TYPE})
3132
@Retention(RetentionPolicy.RUNTIME)

api/src/main/java/org/eclipse/microprofile/openapi/annotations/servers/Server.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@
4242
* {@link org.eclipse.microprofile.openapi.annotations.servers.Servers Servers} annotation are specified on the same
4343
* type, the server definitions will be combined.
4444
*
45-
* @see <a href= "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#server-object"> OpenAPI
46-
* Specification Server Object</a>
45+
* @see <a href= "https://spec.openapis.org/oas/v3.1.0.html#server-object"> OpenAPI Specification Server Object</a>
4746
**/
4847
@Target({ElementType.TYPE, ElementType.METHOD})
4948
@Retention(RetentionPolicy.RUNTIME)

api/src/main/java/org/eclipse/microprofile/openapi/annotations/servers/ServerVariable.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@
2727
/**
2828
* An object representing a Server Variable for server URL template substitution.
2929
*
30-
* @see <a href=
31-
* "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#server-variable-object">ServerVariable
32-
* Object</a>
30+
* @see <a href= "https://spec.openapis.org/oas/v3.1.0.html#server-variable-object">OpenAPI Specification Server
31+
* Variable Object</a>
3332
**/
3433
@Target({})
3534
@Retention(RetentionPolicy.RUNTIME)

api/src/main/java/org/eclipse/microprofile/openapi/annotations/servers/Servers.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@
3131
* {@link org.eclipse.microprofile.openapi.annotations.servers.Servers Servers} annotation are specified on the same
3232
* type, the server definitions will be combined.
3333
*
34-
* @see <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#serverObject">Server
35-
* Object</a>
34+
* @see <a href="https://spec.openapis.org/oas/v3.1.0.html#server-object">OpenAPI Specification Server Object</a>
3635
*
3736
*/
3837
@Target({ElementType.TYPE, ElementType.METHOD})

api/src/main/java/org/eclipse/microprofile/openapi/annotations/tags/Tag.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@
6868
* }
6969
* </pre>
7070
*
71-
* @see <a href= "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#tagObject"> OpenAPI
72-
* Specification Tag Object</a>
71+
* @see <a href= "https://spec.openapis.org/oas/v3.1.0.html#tag-object"> OpenAPI Specification Tag Object</a>
7372
*/
7473
@Target({ElementType.TYPE, ElementType.METHOD})
7574
@Retention(RetentionPolicy.RUNTIME)

0 commit comments

Comments
 (0)