-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: run prettier against everything * chore: run prettier * chore: reorganize ci jobs * ci: do this instead * ci: rename job, stop running against node 19
- Loading branch information
1 parent
190a6c7
commit 5243635
Showing
17 changed files
with
1,816 additions
and
1,618 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,73 @@ | ||
{ | ||
"openapi": "3.1.0", | ||
"servers": [ | ||
{ | ||
"url": "http://petstore.swagger.io/v2" | ||
} | ||
], | ||
"info": { | ||
"description": | ||
"This file tests oas 3.1's ability to have operations without responses", | ||
"version": "1.0.0", | ||
"title": "3.1.0 without responses", | ||
"license": { | ||
"name": "Apache 2.0", | ||
"url": "http://www.apache.org/licenses/LICENSE-2.0.html" | ||
} | ||
}, | ||
"paths": { | ||
"/pet/{petId}": { | ||
"delete": { | ||
"tags": ["pet"], | ||
"summary": "Deletes a pet", | ||
"description": "", | ||
"operationId": "deletePet", | ||
"parameters": [ | ||
{ | ||
"name": "api_key", | ||
"in": "header", | ||
"required": false, | ||
"schema": { | ||
"type": "string" | ||
} | ||
}, | ||
{ | ||
"name": "petId", | ||
"in": "path", | ||
"description": "Pet id to delete", | ||
"required": true, | ||
"schema": { | ||
"type": "integer", | ||
"format": "int64" | ||
} | ||
"openapi": "3.1.0", | ||
"servers": [ | ||
{ | ||
"url": "http://petstore.swagger.io/v2" | ||
} | ||
], | ||
"info": { | ||
"description": "This file tests oas 3.1's ability to have operations without responses", | ||
"version": "1.0.0", | ||
"title": "3.1.0 without responses", | ||
"license": { | ||
"name": "Apache 2.0", | ||
"url": "http://www.apache.org/licenses/LICENSE-2.0.html" | ||
} | ||
}, | ||
"paths": { | ||
"/pet/{petId}": { | ||
"delete": { | ||
"tags": ["pet"], | ||
"summary": "Deletes a pet", | ||
"description": "", | ||
"operationId": "deletePet", | ||
"parameters": [ | ||
{ | ||
"name": "api_key", | ||
"in": "header", | ||
"required": false, | ||
"schema": { | ||
"type": "string" | ||
} | ||
], | ||
"security": [ | ||
{ | ||
"petstore_auth": ["write:pets", "read:pets"] | ||
}, | ||
{ | ||
"name": "petId", | ||
"in": "path", | ||
"description": "Pet id to delete", | ||
"required": true, | ||
"schema": { | ||
"type": "integer", | ||
"format": "int64" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"security": [ | ||
{ | ||
"petstore_auth": ["write:pets", "read:pets"] | ||
} | ||
] | ||
} | ||
}, | ||
"components": { | ||
"securitySchemes": { | ||
"petstore_auth": { | ||
"type": "oauth2", | ||
"flows": { | ||
"implicit": { | ||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog", | ||
"scopes": { | ||
"write:pets": "modify pets in your account", | ||
"read:pets": "read your pets" | ||
} | ||
} | ||
}, | ||
"components": { | ||
"securitySchemes": { | ||
"petstore_auth": { | ||
"type": "oauth2", | ||
"flows": { | ||
"implicit": { | ||
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog", | ||
"scopes": { | ||
"write:pets": "modify pets in your account", | ||
"read:pets": "read your pets" | ||
} | ||
} | ||
}, | ||
"api_key": { | ||
"type": "apiKey", | ||
"name": "api_key", | ||
"in": "header" | ||
} | ||
}, | ||
"api_key": { | ||
"type": "apiKey", | ||
"name": "api_key", | ||
"in": "header" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.