Skip to content

Commit

Permalink
removed obsolete AuthorizationMetadata, security is applied API-wide,…
Browse files Browse the repository at this point in the history
… authToken is made optional
  • Loading branch information
sarpera committed Mar 4, 2019
1 parent 3d3bb20 commit 62dabb2
Showing 1 changed file with 3 additions and 20 deletions.
23 changes: 3 additions & 20 deletions openapi/data_repository_service.swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ consumes:
- application/json
produces:
- application/json
security:
- {}
- authToken: []
paths:
'/service-info':
get:
Expand Down Expand Up @@ -109,8 +112,6 @@ paths:
get:
summary: Returns a fully resolvable URL that can be used to fetch the actual object bytes.
operationId: GetAccessURL
security:
- authToken: []
responses:
'200':
description: The access URL was found successfully.
Expand Down Expand Up @@ -172,24 +173,6 @@ definitions:
description: |-
OPTIONAL
A set of key-value pairs that represent metadata provided by the uploader.
AuthorizationMetadata:
type: object
properties:
auth_type:
type: string
description: |-
The auth standard being used to make data available. For example, 'OAuth2.0'.
auth_url:
type: string
description: |-
The URL where the auth service is located, for example, a URL to get an OAuth
token.
additionalProperties: true
description: |-
OPTIONAL
A set of key-value pairs that represent sufficient metadata to be granted
access to a resource. It may be helpful to provide details about a specific
provider, for example.
Checksum:
type: object
required: ['checksum']
Expand Down

0 comments on commit 62dabb2

Please sign in to comment.