1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- {
- "swagger": "2.0",
- "info": {
- "contact": {}
- },
- "basePath": "/v1",
- "paths": {
- "/user/": {
- "get": {
- "tags": [
- "user"
- ],
- "description": "get all Users\n\u003cbr\u003e",
- "operationId": "UserController.GetAll",
- "responses": {
- "200": {
- "description": "",
- "schema": {
- "$ref": "#/definitions/models.User"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "models.Profile": {
- "title": "Profile",
- "type": "object",
- "properties": {
- "Address": {
- "type": "string"
- },
- "Age": {
- "type": "integer",
- "format": "int64"
- },
- "Email": {
- "type": "string"
- },
- "Gender": {
- "type": "string"
- }
- }
- },
- "models.User": {
- "title": "User",
- "type": "object",
- "properties": {
- "Id": {
- "type": "string"
- },
- "Password": {
- "type": "string"
- },
- "Profile": {
- "$ref": "#/definitions/models.Profile"
- },
- "Username": {
- "type": "string"
- }
- }
- }
- },
- "tags": [
- {
- "name": "user",
- "description": "Operations about Users\n"
- }
- ]
- }
|