Skip to content
Snippets Groups Projects
Commit 131d6c09 authored by Marvin Berstecher's avatar Marvin Berstecher
Browse files

change of: swag init -d controller -g connection.go

parent 7baf492f
No related branches found
Tags v0.0.7
No related merge requests found
......@@ -48,7 +48,7 @@ const docTemplate = `{
}
},
"/connections/block/{did}": {
"put": {
"post": {
"description": "Blocks existing connection (more to be added)",
"consumes": [
"application/json"
......@@ -142,7 +142,7 @@ const docTemplate = `{
}
}
},
"put": {
"post": {
"description": "Creates connection endpoint (more to be added)",
"consumes": [
"application/json"
......@@ -278,8 +278,8 @@ const docTemplate = `{
// SwaggerInfo holds exported Swagger Info so clients can modify it
var SwaggerInfo = &swag.Spec{
Version: "1.0",
Host: "localhost:8080",
BasePath: "/tobedefined",
Host: "localhost:9090",
BasePath: "/",
Schemes: []string{},
Title: "DIDComm Connector API",
Description: "This is a sample server celler server.",
......
......@@ -15,8 +15,8 @@
},
"version": "1.0"
},
"host": "localhost:8080",
"basePath": "/tobedefined",
"host": "localhost:9090",
"basePath": "/",
"paths": {
"/connections": {
"get": {
......@@ -42,7 +42,7 @@
}
},
"/connections/block/{did}": {
"put": {
"post": {
"description": "Blocks existing connection (more to be added)",
"consumes": [
"application/json"
......@@ -136,7 +136,7 @@
}
}
},
"put": {
"post": {
"description": "Creates connection endpoint (more to be added)",
"consumes": [
"application/json"
......
basePath: /tobedefined
host: localhost:8080
basePath: /
host: localhost:9090
info:
contact:
email: support@swagger.io
......@@ -89,7 +89,7 @@ paths:
summary: Update existing connection
tags:
- Connections
put:
post:
consumes:
- application/json
description: Creates connection endpoint (more to be added)
......@@ -104,7 +104,7 @@ paths:
tags:
- Connections
/connections/block/{did}:
put:
post:
consumes:
- application/json
description: Blocks existing connection (more to be added)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment