Skip to content

Commit

Permalink
Update swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
fluffy-melli committed Jan 17, 2025
1 parent 4d3d7d4 commit 56d99ef
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 4 additions & 2 deletions docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ const docTemplate = `{
"post": {
"description": "Processes a Korcen request and returns the result",
"consumes": [
"application/json"
"application/json",
"text/xml"
],
"produces": [
"application/json"
"application/json",
"text/xml"
],
"tags": [
"korcen"
Expand Down
6 changes: 4 additions & 2 deletions docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@
"post": {
"description": "Processes a Korcen request and returns the result",
"consumes": [
"application/json"
"application/json",
"text/xml"
],
"produces": [
"application/json"
"application/json",
"text/xml"
],
"tags": [
"korcen"
Expand Down
2 changes: 2 additions & 0 deletions docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ paths:
post:
consumes:
- application/json
- text/xml
description: Processes a Korcen request and returns the result
parameters:
- description: Korcen Input
Expand All @@ -36,6 +37,7 @@ paths:
$ref: '#/definitions/check.Header'
produces:
- application/json
- text/xml
responses:
"200":
description: Korcen Result
Expand Down

0 comments on commit 56d99ef

Please sign in to comment.