Skip to content

Commit

Permalink
Update swagger definition manually
Browse files Browse the repository at this point in the history
  • Loading branch information
dima767 committed Jul 16, 2018
1 parent a4d6d65 commit 8175905
Showing 1 changed file with 23 additions and 163 deletions.
186 changes: 23 additions & 163 deletions docs/swagger.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
swagger: '2.0'
info:
description: Api Documentation
description: Shibboleth UI REST Api Documentation
version: '1.0'
title: Api Documentation
termsOfService: 'urn:tos'
Expand Down Expand Up @@ -32,8 +32,8 @@ paths:
operationId: createUsingPOST
consumes:
- application/json
produces:
- '*/*'
- application/xml
- application/x-www-form-urlencoded
parameters:
- in: body
name: edRepresentation
Expand All @@ -42,10 +42,6 @@ paths:
schema:
$ref: '#/definitions/EntityDescriptorRepresentation'
responses:
'200':
description: OK
schema:
type: object
'201':
description: Created
'401':
Expand All @@ -54,6 +50,8 @@ paths:
description: Forbidden
'404':
description: Not Found
'409':
description: Already Exists
deprecated: false
'/api/EntityDescriptor/{resourceId}':
get:
Expand All @@ -63,6 +61,7 @@ paths:
operationId: getOneUsingGET_1
produces:
- application/xml
- application/json
parameters:
- name: resourceId
in: path
Expand All @@ -89,7 +88,7 @@ paths:
consumes:
- application/json
produces:
- '*/*'
- application/json
parameters:
- in: body
name: edRepresentation
Expand Down Expand Up @@ -123,7 +122,7 @@ paths:
summary: getAll
operationId: getAllUsingGET
produces:
- '*/*'
- application/json
responses:
'200':
description: OK
Expand All @@ -143,7 +142,7 @@ paths:
summary: search
operationId: searchUsingGET
produces:
- '*/*'
- application/json
parameters:
- name: limit
in: query
Expand All @@ -165,8 +164,6 @@ paths:
description: Unauthorized
'403':
description: Forbidden
'404':
description: Not Found
deprecated: false
/api/MetadataResolvers:
get:
Expand All @@ -175,7 +172,7 @@ paths:
summary: getAll
operationId: getAllUsingGET_2
produces:
- '*/*'
- application/json
responses:
'200':
description: OK
Expand All @@ -185,8 +182,6 @@ paths:
description: Unauthorized
'403':
description: Forbidden
'404':
description: Not Found
deprecated: false
post:
tags:
Expand All @@ -195,8 +190,6 @@ paths:
operationId: createUsingPOST_2
consumes:
- application/json
produces:
- '*/*'
parameters:
- in: body
name: newResolver
Expand All @@ -205,10 +198,6 @@ paths:
schema:
$ref: '#/definitions/MetadataResolver'
responses:
'200':
description: OK
schema:
type: object
'201':
description: Created
'401':
Expand All @@ -217,6 +206,8 @@ paths:
description: Forbidden
'404':
description: Not Found
'409':
description: Already Exists
deprecated: false
'/api/MetadataResolvers/{metadataResolverId}/Filters':
get:
Expand All @@ -225,7 +216,7 @@ paths:
summary: getAll
operationId: getAllUsingGET_1
produces:
- '*/*'
- application/json
parameters:
- name: metadataResolverId
in: path
Expand All @@ -251,8 +242,6 @@ paths:
operationId: createUsingPOST_1
consumes:
- application/json
produces:
- '*/*'
parameters:
- in: body
name: createdFilter
Expand All @@ -266,10 +255,6 @@ paths:
required: true
type: string
responses:
'200':
description: OK
schema:
type: object
'201':
description: Created
'401':
Expand All @@ -286,7 +271,7 @@ paths:
summary: getOne
operationId: getOneUsingGET_2
produces:
- '*/*'
- application/json
parameters:
- name: metadataResolverId
in: path
Expand Down Expand Up @@ -318,7 +303,7 @@ paths:
consumes:
- application/json
produces:
- '*/*'
- application/json
parameters:
- name: metadataResolverId
in: path
Expand All @@ -341,14 +326,14 @@ paths:
description: OK
schema:
type: object
'201':
description: Created
'401':
description: Unauthorized
'403':
description: Forbidden
'404':
description: Not Found
'409':
description: Already Exists
deprecated: false
'/api/MetadataResolvers/{resourceId}':
get:
Expand All @@ -357,7 +342,7 @@ paths:
summary: getOne
operationId: getOneUsingGET_3
produces:
- '*/*'
- application/json
parameters:
- name: resourceId
in: path
Expand All @@ -384,7 +369,7 @@ paths:
consumes:
- application/json
produces:
- '*/*'
- application/json
parameters:
- name: resourceId
in: path
Expand All @@ -410,6 +395,9 @@ paths:
description: Forbidden
'404':
description: Not Found
'409':
description: Version conflict

deprecated: false
'/api/entities/{entityId}':
get:
Expand All @@ -418,7 +406,7 @@ paths:
summary: getOne
operationId: getOneUsingGET
produces:
- '*/*'
- application/json
parameters:
- name: entityId
in: path
Expand Down Expand Up @@ -457,134 +445,6 @@ paths:
'404':
description: Not Found
deprecated: false
head:
tags:
- metadata-providers-controller
summary: getXml
operationId: getXmlUsingHEAD
consumes:
- application/json
produces:
- application/xml
responses:
'200':
description: OK
schema:
type: object
'204':
description: No Content
'401':
description: Unauthorized
'403':
description: Forbidden
deprecated: false
post:
tags:
- metadata-providers-controller
summary: getXml
operationId: getXmlUsingPOST
consumes:
- application/json
produces:
- application/xml
responses:
'200':
description: OK
schema:
type: object
'201':
description: Created
'401':
description: Unauthorized
'403':
description: Forbidden
'404':
description: Not Found
deprecated: false
put:
tags:
- metadata-providers-controller
summary: getXml
operationId: getXmlUsingPUT
consumes:
- application/json
produces:
- application/xml
responses:
'200':
description: OK
schema:
type: object
'201':
description: Created
'401':
description: Unauthorized
'403':
description: Forbidden
'404':
description: Not Found
deprecated: false
delete:
tags:
- metadata-providers-controller
summary: getXml
operationId: getXmlUsingDELETE
produces:
- application/xml
responses:
'200':
description: OK
schema:
type: object
'204':
description: No Content
'401':
description: Unauthorized
'403':
description: Forbidden
deprecated: false
options:
tags:
- metadata-providers-controller
summary: getXml
operationId: getXmlUsingOPTIONS
consumes:
- application/json
produces:
- application/xml
responses:
'200':
description: OK
schema:
type: object
'204':
description: No Content
'401':
description: Unauthorized
'403':
description: Forbidden
deprecated: false
patch:
tags:
- metadata-providers-controller
summary: getXml
operationId: getXmlUsingPATCH
consumes:
- application/json
produces:
- application/xml
responses:
'200':
description: OK
schema:
type: object
'204':
description: No Content
'401':
description: Unauthorized
'403':
description: Forbidden
deprecated: false
definitions:
AssertionConsumerServiceRepresentation:
type: object
Expand Down

0 comments on commit 8175905

Please sign in to comment.