1
0
mirror of synced 2026-01-05 21:04:17 -05:00

Add decorated OpenAPI schema files

This commit is contained in:
github-openapi-bot
2022-07-12 17:03:49 +00:00
parent e2620a4912
commit 1809247dcc
5 changed files with 275 additions and 70 deletions

View File

@@ -385590,8 +385590,17 @@
"key": "default",
"request": {
"contentType": "application/json",
"description": "Example",
"acceptHeader": "application/vnd.github.v3+json"
"description": "Create an authorization",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url",
"client_id": "abcde12345fghij67890",
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f"
}
},
"response": {
"statusCode": "201",
@@ -386412,13 +386421,13 @@
"name": "client_id",
"in": "path",
"required": true,
"description": "<p>The client ID of the GitHub app.</p>",
"description": "<p>The client ID of the OAuth app.</p>",
"schema": {
"type": "string"
},
"examples": {
"default": {
"value": "Iv1.8a61f9b3a7aba766"
"value": "abcde12345fghij67890"
}
}
}
@@ -386495,10 +386504,18 @@
"key": "response-if-returning-an-existing-token",
"request": {
"contentType": "application/json",
"description": "Example 1: Status Code 200",
"description": "Create an authorization for an app 1: Status Code 200",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
},
"parameters": {
"client_id": "Iv1.8a61f9b3a7aba766"
"client_id": "abcde12345fghij67890"
}
},
"response": {
@@ -387282,10 +387299,18 @@
"key": "default",
"request": {
"contentType": "application/json",
"description": "Example 2: Status Code 201",
"description": "Create an authorization for an app 2: Status Code 201",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
},
"parameters": {
"client_id": "Iv1.8a61f9b3a7aba766"
"client_id": "abcde12345fghij67890"
}
},
"response": {
@@ -388107,13 +388132,13 @@
"name": "client_id",
"in": "path",
"required": true,
"description": "<p>The client ID of the GitHub app.</p>",
"description": "<p>The client ID of the OAuth app.</p>",
"schema": {
"type": "string"
},
"examples": {
"default": {
"value": "Iv1.8a61f9b3a7aba766"
"value": "abcde12345fghij67890"
}
}
},
@@ -388189,10 +388214,18 @@
"key": "response-if-returning-an-existing-token",
"request": {
"contentType": "application/json",
"description": "Example 1: Status Code 200",
"description": "Create an authorization for an app and fingerprint 1: Status Code 200",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
},
"parameters": {
"client_id": "Iv1.8a61f9b3a7aba766",
"client_id": "abcde12345fghij67890",
"fingerprint": "FINGERPRINT"
}
},
@@ -388977,10 +389010,18 @@
"key": "default",
"request": {
"contentType": "application/json",
"description": "Example 2: Status Code 201",
"description": "Create an authorization for an app and fingerprint 2: Status Code 201",
"acceptHeader": "application/vnd.github.v3+json",
"bodyParameters": {
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
"scopes": [
"public_repo"
],
"note": "optional note",
"note_url": "http://optional/note/url"
},
"parameters": {
"client_id": "Iv1.8a61f9b3a7aba766",
"client_id": "abcde12345fghij67890",
"fingerprint": "FINGERPRINT"
}
},