Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update openapi version string #1818

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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
Loading