Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix OAS schema validations #2

Merged
merged 1 commit into from
Aug 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openapi/paths/content/content@denylist@{type}@{id}.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ put:
type: string
example:
blocker: '0x89205A3A3b2A69De6Dbf7f01ED13B2108B2c43e7,'
timestamp: '1628534551726,'
timestamp: 1628534551726
signature: >-
block-content-QmbcVjrVGDWwdCMdXQjpyzui2bCX4zaR8XwvkwFuBZvto3-1628534551726
responses:
Expand Down
8 changes: 2 additions & 6 deletions openapi/paths/content/content@entities@{type}.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,9 @@ get:
name: type
required: true
schema:
type: array
enum:
- profile
- scene
- wearable
type: array
example: profile
description: Entity Type that will be returned by the request
description: 'Entity Type that will be returned by the request. Valid values are: profile, scene and werable.'
- in: query
name: pointer
allowEmptyValue: true
Expand Down
8 changes: 2 additions & 6 deletions openapi/paths/content/content@pointer-changes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,11 @@ get:
name: entityType
allowEmptyValue: true
schema:
type: array
enum:
- scene
- profile
- wearable
type: array
example: profile
description: >-
The type of entities that will be shown in the collection, many values
can be sent.
can be sent. Valid values are: profile, scene and werable.
responses:
'200':
description: List of deployment changes made to pointers
Expand Down