forked from fsbahman/apidoc-swagger
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
aremonda
committed
Oct 21, 2020
1 parent
5048153
commit eb7e3a2
Showing
5 changed files
with
18 additions
and
4 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 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 +1 @@ | ||
{"swagger":"2.0","info":{"title":"steplix-apidoc-swagger","version":"0.4.6","description":"Convert api doc json to swagger json, including aws api-gateway attributes"},"servers":[{"url":"http://localhost"}],"paths":{"/user/id":{"get":{"tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"id","in":"path","required":true,"type":"number","description":"Users unique ID."}],"responses":{"200":{"description":"successful operation","schema":{"type":"String","items":{"$ref":"#/definitions/GetUser"}}}},"x-amazon-apigateway-integration":{"uri":"http://localhost/user/id","passthroughBehavior":"when_no_match","httpMethod":"GET","type":"http","connectionType":"VPC_LINK","connectionId":"${stageVariables.idVpcLink}","responses":{"default":{"statusCode":"200"}},"requestParameters":{"integration.request.path.id":"method.request.path.id"}}}}},"definitions":{"GetUser":{"properties":{"id":{"type":"number","description":"Users unique ID."},"firstname":{"type":"string","description":"Firstname of the User."},"lastname":{"type":"string","description":"Lastname of the User."}},"required":["id","firstname","lastname"]}}} | ||
{"swagger":"2.0","info":{"title":"steplix-apidoc-swagger","version":"0.4.7","description":"Convert api doc json to swagger json, including aws api-gateway attributes"},"servers":[{"url":"http://localhost"}],"paths":{"/user/id":{"get":{"tags":["User"],"consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"id","in":"path","required":true,"type":"number","description":"Users unique ID."},{"name":"Authorization","in":"header","required":true,"type":"string","description":"Bearer token authorization. Example Auhorization='bearer eyJhbGciOiJIUzI....wdgMI'","group":"Header"}],"responses":{"200":{"description":"successful operation","schema":{"type":"String","items":{"$ref":"#/definitions/GetUser"}}}},"x-amazon-apigateway-integration":{"uri":"http://localhost/user/id","passthroughBehavior":"when_no_match","httpMethod":"GET","type":"http","connectionType":"VPC_LINK","connectionId":"${stageVariables.idVpcLink}","responses":{"default":{"statusCode":"200"}},"requestParameters":{"integration.request.path.id":"method.request.path.id","integration.request.header.Authorization":"method.request.header.Authorization"}}}}},"definitions":{"GetUser":{"properties":{"id":{"type":"number","description":"Users unique ID."},"firstname":{"type":"string","description":"Firstname of the User."},"lastname":{"type":"string","description":"Lastname of the User."}},"required":["id","firstname","lastname"]}}} |