|
17 | 17 | // limitations under the License.
|
18 | 18 | //
|
19 | 19 |
|
20 |
| -:authors: Arthur De Magalhaes (Spec Lead), Eric Wittmann, Anna Safonov, Matt Gill, Ivan Junckes Filho, Jérémie Bresson, Jana Manoharan, Rui Qi Wang, Tommy Wojtczak, Martin Smithson, Michael Edgar |
| 20 | +:authors: Arthur De Magalhaes (Spec Lead), Eric Wittmann, Anna Safonov, Matt Gill, Ivan Junckes Filho, Jérémie Bresson, Jana Manoharan, Rui Qi Wang, Tommy Wojtczak, Martin Smithson, Michael Edgar, Andrew Rouse |
21 | 21 | :version-label!:
|
22 | 22 | :sectanchors:
|
23 | 23 | :doctype: book
|
@@ -211,7 +211,7 @@ library and wish to take advantage to the official MP OpenAPI interfaces.
|
211 | 211 |
|
212 | 212 | ==== Quick overview of annotations
|
213 | 213 |
|
214 |
| -The following annotations are found in the https://github.com/eclipse/microprofile-open-api/tree/master/api/src/main/java/org/eclipse/microprofile/openapi/annotations[org.eclipse.microprofile.openapi.annotations] package. |
| 214 | +The following annotations are found in the https://github.com/eclipse/microprofile-open-api/tree/main/api/src/main/java/org/eclipse/microprofile/openapi/annotations[org.eclipse.microprofile.openapi.annotations] package. |
215 | 215 |
|
216 | 216 | [cols="1,4"]
|
217 | 217 | |===
|
@@ -387,7 +387,7 @@ post:
|
387 | 387 | '*/*':
|
388 | 388 | schema:
|
389 | 389 | $ref: '#/components/schemas/User'
|
390 |
| - required: true |
| 390 | + required: true |
391 | 391 | responses:
|
392 | 392 | default:
|
393 | 393 | description: no description
|
@@ -461,7 +461,7 @@ public class ServersResource {
|
461 | 461 | .Output for Sample 1
|
462 | 462 | [source, yaml]
|
463 | 463 | ----
|
464 |
| -openapi: 3.0.2 |
| 464 | +openapi: 3.1.0 |
465 | 465 | servers:
|
466 | 466 | - url: http://{var1}.definition1/{var2}
|
467 | 467 | description: definition server 1
|
@@ -614,18 +614,14 @@ maxItems = b`
|
614 | 614 | | `minProperties = a +
|
615 | 615 | maxProperties = b`
|
616 | 616 | | `@DecimalMax(value = a)` | `number` or `integer` | `maximum = a`
|
617 |
| -| `@DecimalMax(value = a, exclusive = false)` | `number` or `integer` | `maximum = a + |
618 |
| -exclusiveMaximum = true` |
| 617 | +| `@DecimalMax(value = a, inclusive = false)` | `number` or `integer` | `exclusiveMaximum = a` |
619 | 618 | | `@DecimalMin(value = a)` | `number` or `integer` | `minimum = a`
|
620 |
| -| `@DecimalMin(value = a, exclusive = false)` | `number` or `integer` | `minimum = a + |
621 |
| -exclusiveMinimum = true` |
| 619 | +| `@DecimalMin(value = a, inclusive = false)` | `number` or `integer` | `exclusiveMinimum = a` |
622 | 620 | | `@Max(a)` | `number` or `integer` | `maximum = a`
|
623 | 621 | | `@Min(a)` | `number` or `integer` | `minimum = a`
|
624 |
| -| `@Negative` | `number` or `integer` | `maximum = 0 + |
625 |
| -exclusiveMaximum = true` |
| 622 | +| `@Negative` | `number` or `integer` | `exclusiveMaximum = 0` |
626 | 623 | | `@NegativeOrZero` | `number` or `integer` | `maximum = 0`
|
627 |
| -| `@Positive` | `number` or `integer` | `minimum = 0 + |
628 |
| -exclusiveMinimum = true` |
| 624 | +| `@Positive` | `number` or `integer` | `exclusiveMinimum = 0` |
629 | 625 | | `@PositiveOrZero` | `number` or `integer` | `minimum = 0`
|
630 | 626 | |===
|
631 | 627 |
|
@@ -656,7 +652,7 @@ This is in addition to the default locations defined by https://github.com/eclip
|
656 | 652 | === Programming model
|
657 | 653 |
|
658 | 654 | Application developers are able to provide OpenAPI elements via Java POJOs. The
|
659 |
| -complete set of models are found in the https://github.com/eclipse/microprofile-open-api/tree/master/api/src/main/java/org/eclipse/microprofile/openapi/models[org.eclipse.microprofile.openapi.models] package. |
| 655 | +complete set of models are found in the https://github.com/eclipse/microprofile-open-api/tree/main/api/src/main/java/org/eclipse/microprofile/openapi/models[org.eclipse.microprofile.openapi.models] package. |
660 | 656 |
|
661 | 657 | ==== OASFactory
|
662 | 658 |
|
|
0 commit comments