Skip to content

Instantly share code, notes, and snippets.

@malkafly
Last active December 14, 2018 16:43
Show Gist options
  • Save malkafly/54f77e2ee79188b46394929fa0aa5a38 to your computer and use it in GitHub Desktop.
Save malkafly/54f77e2ee79188b46394929fa0aa5a38 to your computer and use it in GitHub Desktop.
teste api xp
{"swagger": "2.0","info": { "version": "2018.11.6.114634","title": "SAK.Test.ApplicationLab","description": "A sample API that uses a Http2RpcProvider provider as an example to demonstrate features in SAK","license": {"name": "MIT"}},"host": "localhost:20319","basePath": "/","schemes": ["http"],"consumes": ["application/json"],"produces": ["application/json"],"paths": { "/apitestservice/v1/customers": {"get": { "operationId": "GetCustomers","summary": "Método: GetCustomers","produces": [ "application/json" ],"responses": { "200": { "description": "200 response" }}},"post": { "operationId": "PostCustomers","summary": "Método: PostCustomers","produces": [ "application/json" ],"responses": { "200": { "description": "200 response" }}}},"/apitestservice/v1/customers/:id": {"get": { "operationId": "GetSingleCustomers","summary": "Método: GetSingleCustomers","produces": [ "application/json" ],"responses": { "200": { "description": "200 response" }}},"post": { "operationId": "PostCustomersById","summary": "Método: PostCustomersById","produces": [ "application/json" ],"responses": { "200": { "description": "200 response" }}},"put": { "operationId": "UpdateCustomer","summary": "Método: UpdateCustomer","produces": [ "application/json" ],"responses": { "200": { "description": "200 response" }}},"patch": { "operationId": "UpdateOnlySomeInfos","summary": "Método: UpdateOnlySomeInfos","produces": [ "application/json" ],"responses": { "200": { "description": "200 response" }}},"delete": { "operationId": "DeleteAllCustomerData","summary": "Método: DeleteAllCustomerData","produces": [ "application/json" ],"responses": { "200": { "description": "200 response" }}}},"/apitestservice/v1/customers/:id/orders/:id": {"get": { "operationId": "GetCustomersByIdOrders","summary": "Método: GetCustomersByIdOrders","produces": [ "application/json" ],"responses": { "200": { "description": "200 response" }}},"post": { "operationId": "PostCustomersByIdOrders","summary": "Método: PostCustomersByIdOrders","produces": [ "application/json" ],"responses": { "200": { "description": "200 response" }}}} }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment