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