Generate extensions

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2022-05-12 06:23:19 +04:00
parent 8a893157ed
commit e2937e941c
6 changed files with 20470 additions and 0 deletions
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,595 @@
{
"paths": {
"/email": {
"post": {
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"attributes": {
"type": "object",
"properties": {
"foo": {
"type": "string"
}
}
}
}
},
"meta": {
"type": "object"
}
}
}
}
}
},
"400": {
"description": "Bad Request",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"properties": {
"status": {
"type": "integer"
},
"name": {
"type": "string"
},
"message": {
"type": "string"
}
}
}
}
}
}
}
},
"401": {
"description": "Unauthorized",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"properties": {
"status": {
"type": "integer"
},
"name": {
"type": "string"
},
"message": {
"type": "string"
}
}
}
}
}
}
}
},
"403": {
"description": "Forbidden",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"properties": {
"status": {
"type": "integer"
},
"name": {
"type": "string"
},
"message": {
"type": "string"
}
}
}
}
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"properties": {
"status": {
"type": "integer"
},
"name": {
"type": "string"
},
"message": {
"type": "string"
}
}
}
}
}
}
}
},
"500": {
"description": "Internal Server Error",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"properties": {
"status": {
"type": "integer"
},
"name": {
"type": "string"
},
"message": {
"type": "string"
}
}
}
}
}
}
}
}
},
"tags": [
"Email"
],
"parameters": [],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"properties": {
"data": {
"type": "object",
"properties": {
"foo": {
"type": "string"
}
}
}
}
}
}
}
}
}
},
"/email/test": {
"post": {
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"attributes": {
"type": "object",
"properties": {
"foo": {
"type": "string"
}
}
}
}
},
"meta": {
"type": "object"
}
}
}
}
}
},
"400": {
"description": "Bad Request",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"properties": {
"status": {
"type": "integer"
},
"name": {
"type": "string"
},
"message": {
"type": "string"
}
}
}
}
}
}
}
},
"401": {
"description": "Unauthorized",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"properties": {
"status": {
"type": "integer"
},
"name": {
"type": "string"
},
"message": {
"type": "string"
}
}
}
}
}
}
}
},
"403": {
"description": "Forbidden",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"properties": {
"status": {
"type": "integer"
},
"name": {
"type": "string"
},
"message": {
"type": "string"
}
}
}
}
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"properties": {
"status": {
"type": "integer"
},
"name": {
"type": "string"
},
"message": {
"type": "string"
}
}
}
}
}
}
}
},
"500": {
"description": "Internal Server Error",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"properties": {
"status": {
"type": "integer"
},
"name": {
"type": "string"
},
"message": {
"type": "string"
}
}
}
}
}
}
}
}
},
"tags": [
"Email"
],
"parameters": [],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"properties": {
"data": {
"type": "object",
"properties": {
"foo": {
"type": "string"
}
}
}
}
}
}
}
}
}
},
"/email/settings": {
"get": {
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"attributes": {
"type": "object",
"properties": {
"foo": {
"type": "string"
}
}
}
}
},
"meta": {
"type": "object"
}
}
}
}
}
},
"400": {
"description": "Bad Request",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"properties": {
"status": {
"type": "integer"
},
"name": {
"type": "string"
},
"message": {
"type": "string"
}
}
}
}
}
}
}
},
"401": {
"description": "Unauthorized",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"properties": {
"status": {
"type": "integer"
},
"name": {
"type": "string"
},
"message": {
"type": "string"
}
}
}
}
}
}
}
},
"403": {
"description": "Forbidden",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"properties": {
"status": {
"type": "integer"
},
"name": {
"type": "string"
},
"message": {
"type": "string"
}
}
}
}
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"properties": {
"status": {
"type": "integer"
},
"name": {
"type": "string"
},
"message": {
"type": "string"
}
}
}
}
}
}
}
},
"500": {
"description": "Internal Server Error",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"properties": {
"status": {
"type": "integer"
},
"name": {
"type": "string"
},
"message": {
"type": "string"
}
}
}
}
}
}
}
}
},
"tags": [
"Email"
],
"parameters": [],
"requestBody": {}
}
}
}
}
File diff suppressed because it is too large Load Diff