Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save kristiandelay/63e0d2cdcd5fc22d0c3f5914396cd7ea to your computer and use it in GitHub Desktop.

Select an option

Save kristiandelay/63e0d2cdcd5fc22d0c3f5914396cd7ea to your computer and use it in GitHub Desktop.
{
"swagger": "2.0",
"info": {
"title": "api.paw",
"version": "v0.0.0"
},
"host": "10.254.0.70:30060",
"schemes": [
"http"
],
"basePath": "/",
"paths": {
"/user": {
"post": {
"summary": "create user",
"description": "",
"operationId": "d609aa82-1e59-44ca-b5e1-b71dd66f17bb",
"consumes": [
"application/json"
],
"parameters": [
{
"required": false,
"schema": {
"type": "string",
"default": "{\"email\":\"kristiandelay@hpe.com\",\"password\":\"Kristian=1\",\"firstName\":\"kristian\",\"lastName\":\"delay\",\"lastLogin\":\"1\"}"
},
"in": "body",
"name": "body"
}
],
"responses": {
"default": {
"description": "no response description was provided for this operation"
}
},
"security": [
{
"oauth_2_auth": []
}
]
}
},
"/auth": {
"post": {
"summary": "auth",
"description": "",
"operationId": "11143e06-9ddd-441a-b034-cc579082f8e2",
"consumes": [
"application/json"
],
"parameters": [
{
"required": false,
"schema": {
"type": "string",
"default": "{\"apikey\":\"c759233d-a1ef-4986-8ba4-70502da69007\"}"
},
"in": "body",
"name": "body"
}
],
"responses": {
"default": {
"description": "no response description was provided for this operation"
}
},
"security": [
{
"oauth_2_auth": []
}
]
}
}
},
"securityDefinitions": {
"oauth_2_auth": {
"type": "oauth2",
"scopes": {}
}
},
"tags": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment