Specify which swagger APIs consume JSON

This commit is contained in:
Travis Ralston 2018-08-03 14:01:33 -06:00
parent 329baa1b9d
commit 2e6d6e2790
5 changed files with 10 additions and 0 deletions

View file

@ -20,6 +20,8 @@ host: localhost:8448
schemes: schemes:
- https - https
basePath: /_matrix/federation/v1 basePath: /_matrix/federation/v1
consumes:
- application/json
produces: produces:
- application/json - application/json
paths: paths:

View file

@ -20,6 +20,8 @@ host: localhost:8448
schemes: schemes:
- https - https
basePath: /_matrix/key/v2 basePath: /_matrix/key/v2
consumes:
- application/json
produces: produces:
- application/json - application/json
paths: paths:

View file

@ -20,6 +20,8 @@ host: localhost:8448
schemes: schemes:
- https - https
basePath: /_matrix/federation/v1 basePath: /_matrix/federation/v1
consumes:
- application/json
produces: produces:
- application/json - application/json
paths: paths:

View file

@ -20,6 +20,8 @@ host: localhost:8448
schemes: schemes:
- https - https
basePath: /_matrix/federation/v1 basePath: /_matrix/federation/v1
consumes:
- application/json
produces: produces:
- application/json - application/json
paths: paths:

View file

@ -20,6 +20,8 @@ host: localhost:8448
schemes: schemes:
- https - https
basePath: /_matrix/federation/v1 basePath: /_matrix/federation/v1
consumes:
- application/json
produces: produces:
- application/json - application/json
paths: paths: