Forum Discussion
leonardolima
3 years agoNew Contributor
{
"openapi": "3.0.1",
"info": {
"title": "my-application",
"description": "app",
"version": "1.0.1-SNAPSHOT"
},
"servers": [{
"url": "/app"
}],
"tags": [{
"name": "Endpoint",
"description": "Endpoint"
}],
"paths": {
"/app/get/{brand}/something": {
"get": {
"tags": [
"something"
],
"summary": "something",
"operationId": "search_1",
"parameters": [{
"name": "name",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "limit",
"in": "query",
"schema": {
"$ref": "#/components/schemas/Pagination"
}
},
{
"name": "offset",
"in": "query",
"schema": {
"$ref": "#/components/schemas/Pagination"
}
},
{
"name": "context",
"in": "query",
"schema": {
"type": "string",
"default": "default"
}
}
],
"responses": {
"200": {
"description": "Sucesso",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SomethingResponse"
}
}
}
},
"400": {
"description": "Bad request"
},
"404": {
"description": "Not found"
}
}
}
}
},
"components": {
"schemas": {
"SomethingResponse": {},
"Pagination": {}
}
}
}
This is the result generated... I'm still without any clue of how resolve this 😞
Related Content
- 2 years ago
Recent Discussions
- 6 days ago
- 7 days ago
- 24 days ago