docs: update swagger
This commit is contained in:
@@ -12,7 +12,7 @@ const docTemplate = `{
|
|||||||
"termsOfService": "http://swagger.io/terms/",
|
"termsOfService": "http://swagger.io/terms/",
|
||||||
"contact": {
|
"contact": {
|
||||||
"name": "API Support",
|
"name": "API Support",
|
||||||
"email": "support@yourapp.com"
|
"email": "gabriel.delosrios@tutamail.com"
|
||||||
},
|
},
|
||||||
"license": {
|
"license": {
|
||||||
"name": "MIT",
|
"name": "MIT",
|
||||||
@@ -364,7 +364,7 @@ const docTemplate = `{
|
|||||||
// SwaggerInfo holds exported Swagger Info so clients can modify it
|
// SwaggerInfo holds exported Swagger Info so clients can modify it
|
||||||
var SwaggerInfo = &swag.Spec{
|
var SwaggerInfo = &swag.Spec{
|
||||||
Version: "1.0",
|
Version: "1.0",
|
||||||
Host: "localhost:8080",
|
Host: "agenda-web-go.gabilandia.com",
|
||||||
BasePath: "/",
|
BasePath: "/",
|
||||||
Schemes: []string{},
|
Schemes: []string{},
|
||||||
Title: "Contacts API",
|
Title: "Contacts API",
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"termsOfService": "http://swagger.io/terms/",
|
"termsOfService": "http://swagger.io/terms/",
|
||||||
"contact": {
|
"contact": {
|
||||||
"name": "API Support",
|
"name": "API Support",
|
||||||
"email": "support@yourapp.com"
|
"email": "gabriel.delosrios@tutamail.com"
|
||||||
},
|
},
|
||||||
"license": {
|
"license": {
|
||||||
"name": "MIT",
|
"name": "MIT",
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
},
|
},
|
||||||
"version": "1.0"
|
"version": "1.0"
|
||||||
},
|
},
|
||||||
"host": "localhost:8080",
|
"host": "agenda-web-go.gabilandia.com",
|
||||||
"basePath": "/",
|
"basePath": "/",
|
||||||
"paths": {
|
"paths": {
|
||||||
"/contacts": {
|
"/contacts": {
|
||||||
|
|||||||
@@ -47,10 +47,10 @@ definitions:
|
|||||||
description: Phone number in international format
|
description: Phone number in international format
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
host: localhost:8080
|
host: agenda-web-go.gabilandia.com
|
||||||
info:
|
info:
|
||||||
contact:
|
contact:
|
||||||
email: support@yourapp.com
|
email: gabriel.delosrios@tutamail.com
|
||||||
name: API Support
|
name: API Support
|
||||||
description: A simple Contacts CRUD API
|
description: A simple Contacts CRUD API
|
||||||
license:
|
license:
|
||||||
|
|||||||
Reference in New Issue
Block a user