-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathswagger.yaml
More file actions
39 lines (39 loc) · 912 Bytes
/
swagger.yaml
File metadata and controls
39 lines (39 loc) · 912 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
definitions:
User:
properties:
country:
type: string
x-go-name: Country
email:
type: string
x-go-name: Email
firstname:
type: string
x-go-name: Firstname
lastname:
type: string
x-go-name: Lastname
type: object
x-go-package: _/Users/ackers/Documents/Developer/go/Projects/CredentialsCapture/models/credentials
paths:
/save:
post:
description: Save Credentials to the Database
operationId: Save
parameters:
- description: Save Credentials
in: body
name: User
required: true
schema:
$ref: '#/definitions/User'
responses:
"200":
description: OK
"400":
description: Bad Request
"500":
description: Internal Error (Unable to Save to Database)
tags:
- Users
swagger: "2.0"