Skip to content

Commit

Permalink
Merge pull request #1818 from benjamin-confino/update-openapi-version…
Browse files Browse the repository at this point in the history
…-string

Update openapi version string
  • Loading branch information
MikeEdgar authored May 14, 2024
2 parents 73183db + 2da5645 commit 31fc1fa
Show file tree
Hide file tree
Showing 302 changed files with 315 additions and 10,609 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ private SmallRyeOASConfig() {
public static final String AUTO_INHERITANCE = SMALLRYE_PREFIX + "auto-inheritance";

public static final class Defaults {
public static final String VERSION = "3.0.3";
public static final String VERSION = "3.1.0";

private Defaults() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ public Builder enableStandardFilter(boolean enableStandardFilter) {
* <li>Set a generated value for {@code info.title} if none specified
* <li>Set a generated value for {@code info.version} if none specified
* <li>Set a default value for {@code openapi} (the specification
* version) if none specified. E.g. 3.0.3
* version) if none specified. E.g. 3.1.0
* </ul>
*
* @param defaultRequiredProperties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/**
* Constants related to Schema
*
* @see <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#schemaObject">schemaObject</a>
* @see <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#schema-object">schema-object</a>
*
* @author Phillip Kruger ([email protected])
* @author Eric Wittmann ([email protected])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public class TypeUtil {
public static final IndexView jdkIndex;
private static final Set<DotName> wrapperTypes = new HashSet<>();

// https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.0.md#dataTypeFormat
// https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#dataTypeFormat
static {
TYPE_MAP.put(DOTNAME_OBJECT, ANY);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"paths": {
"/foo": {
"get": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"paths": {
"/foo": {
"get": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"paths": {
"/foo": {
"get": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi" : "3.0.0",
"openapi" : "3.1.0",
"info" : {
"title": "Sample Pet Store App",
"description": "This is a sample server for a pet store.",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi" : "3.0.0",
"openapi" : "3.1.0",
"info" : {
"x-vendor-property-1": "FOO",
"x-vendor-property-2": "bar",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi" : "3.0.0",
"openapi" : "3.1.0",
"info" : {
"title": "Sample Pet Store App",
"description": "This is a sample server for a pet store.",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi" : "3.0.0",
"openapi" : "3.1.0",
"info" : {
"title": "Sample Pet Store App",
"termsOfService": "http://example.com/terms/",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi" : "3.0.0",
"openapi" : "3.1.0",
"info" : {
"title": "Sample Pet Store App (Merged)",
"description": "This is a sample server for a pet store.",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi" : "3.0.0",
"openapi" : "3.1.0",
"info" : {
"title": "Sample Pet Store App (Merged)",
"description": "This is a sample server for a pet store.",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"paths": {
"/foo": {
"summary": "Foo Resource",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"paths": {
"/foo": {
"summary": "Foo Resource",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"paths": {
"/foo": {
"summary": "Foo Resource",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"paths": {
"/foo": {
"get": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"paths": {
"/foo": {
"get": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"paths": {
"/foo": {
"get": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"paths": {
"/foo": {
"summary": "Foo Resource",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"paths": {
"/foo": {
"get": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"paths": {
"/foo": {
"summary": "Foo Resource",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"paths": {
"/foo": {
"get": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"paths": {
"/foo": {
"get": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"paths": {
"/foo": {
"get": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi" : "3.0.0",
"openapi" : "3.1.0",
"security" : [
{
"BASIC": []
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi" : "3.0.0",
"openapi" : "3.1.0",
"security" : [
{
"BASIC": []
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi" : "3.0.0",
"openapi" : "3.1.0",
"security" : [
{
"JWT": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"servers": [
{
"url": "https://development.gigantic-server.com/v1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"servers": [
{
"url": "https://development.gigantic-server.com/v1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"servers": [
{
"url": "https://staging.gigantic-server.com/v1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi" : "3.0.0",
"openapi" : "3.1.0",
"tags" : [
{
"name": "tag1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi" : "3.0.0",
"openapi" : "3.1.0",
"tags" : [
{
"name": "tag1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi" : "3.0.0",
"openapi" : "3.1.0",
"tags" : [
{
"name": "tag1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"info": {
"title": "Updated API Title",
"description": "This is a sample server for a pet store.",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"info": {
"title": "Sample Pet Store App",
"description": "This is a sample server for a pet store.",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"info": {
"title": "Sample Pet Store App",
"description": "This is a sample server for a pet store.",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
openapi: 3.0.0
openapi: 3.1.0
info:
title: Sample Pet Store App
description: This is a sample server for a pet store.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"components": {
"callbacks": {
"Callback1": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"components": {
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"components": {
"examples": {
"Example1": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"components": {
"headers": {
"Header1": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"components": {
"links": {
"Link1": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"components": {
"parameters": {
"Param1": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"components": {
"requestBodies": {
"Body1": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"components": {
"responses": {
"PetResponse": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"components": {
"schemas": {
"MySchema1" : {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"components": {
"securitySchemes": {
"BASIC": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi" : "3.0.0",
"openapi" : "3.1.0",
"info" : {
"title": "Sample Pet Store App",
"description": "This is a sample server for a pet store.",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi" : "3.0.0",
"openapi" : "3.1.0",
"externalDocs" : {
"description": "Find more info here",
"url": "https://swagger.io"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi" : "3.0.0",
"openapi" : "3.1.0",
"info" : {
"title": "Sample Pet Store App",
"description": "This is a sample server for a pet store.",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
openapi: 3.0.0
openapi: 3.1.0
info:
title: Sample Pet Store App
description: This is a sample server for a pet store.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
openapi: 3.0.0
openapi: 3.1.0
info:
title: Proxy App
version: "1.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"paths": {
"/foo": {
"summary": "Foo Resource",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.0",
"openapi": "3.1.0",
"paths" : {
}
}
Loading

0 comments on commit 31fc1fa

Please sign in to comment.