Skip to content

Commit

Permalink
Merge pull request #62 from trebol-ecommerce/hotfix
Browse files Browse the repository at this point in the history
fix: missing `servers` root object
  • Loading branch information
bglamadrid authored Mar 27, 2023
2 parents 9219e53 + 46ebfe6 commit 8ef7a48
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion trebol-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"openapi": "3.0.1",
"info": {
"title": "Trébol eCommerce API",
"version": "1.5.1",
"version": "1.5.2",
"description": "A collection of resources that the Trébol backend exposes to interact with.",
"contact": {
"name": "Benjamin La Madrid",
Expand Down Expand Up @@ -4120,5 +4120,32 @@
},
"security": [
{}
],
"servers": [
{
"url": "{protocol}://{host}:{port}{basePath}",
"description": "Any server",
"variables": {
"protocol": {
"default": "https",
"description": "http or https. https is ideal"
},
"host": {
"default": "localhost",
"description": "The fully qualified domain name for the server, e.g. my-app.us-east-1.aws.amazon.com"
},
"port": {
"enum": [
"443"
],
"default": "443",
"description": "The port that the server listens to for incoming requests"
},
"basePath": {
"default": "",
"description": "The base path that the API is served to. Must not end with a slash (/)"
}
}
}
]
}

0 comments on commit 8ef7a48

Please sign in to comment.