Skip to content

Commit

Permalink
docs: remove host from swagger spec (#236)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Gianelloni <[email protected]>
  • Loading branch information
wolf31o2 authored Aug 30, 2024
1 parent b2a81ac commit 2241872
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/docs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
},
"version": "1.0"
},
"host": "localhost",
"basePath": "/api",
"paths": {
"/chainsync/sync": {
Expand Down
1 change: 0 additions & 1 deletion docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ definitions:
format: base16
type: string
type: object
host: localhost
info:
contact:
email: [email protected]
Expand Down
3 changes: 1 addition & 2 deletions internal/api/api.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Blink Labs Software
// Copyright 2024 Blink Labs Software
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -33,7 +33,6 @@ import (
// @title cardano-node-api
// @version 1.0
// @description Cardano Node API
// @host localhost
// @Schemes http
// @BasePath /api
// @contact.name Blink Labs
Expand Down

0 comments on commit 2241872

Please sign in to comment.