Skip to content

Commit

Permalink
Rename /currently-pointed (#31)
Browse files Browse the repository at this point in the history
* Rename /currently-pointed

* fix tests
  • Loading branch information
agusaldasoro authored Apr 13, 2022
1 parent cf8191c commit caafb79
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions openapi/catalyst.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ paths:
$ref: paths/content/content@available-content.yaml
/content/entities:
$ref: paths/content/content@entities.yaml
/content/entities/currently-pointed/{urnPrefix}:
$ref: paths/content/content@entities@currently-pointed@{urnPrefix}.yaml
/content/entities/active/collections/{collectionUrn}:
$ref: paths/content/content@entities@active@collections@{collectionUrn}.yaml
/content/entities/active:
$ref: 'paths/content/content@entities@active.yaml'
/content/failed-deployments:
Expand Down
4 changes: 2 additions & 2 deletions openapi/content.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ paths:
$ref: paths/content/content@available-content.yaml
/entities:
$ref: paths/content/content@entities.yaml
/entities/currently-pointed/{urnPrefix}:
$ref: paths/content/content@entities@currently-pointed@{urnPrefix}.yaml
/entities/active/collections/{collectionUrn}:
$ref: paths/content/content@entities@active@collections@{collectionUrn}.yaml
/entities/active:
$ref: 'paths/content/content@entities@active.yaml'
/failed-deployments:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ get:
Returns the list of active entities which have at least one pointer that matches the prefix given
parameters:
- in: path
name: urnPrefix
name: collectionUrn
required: true
schema:
type: string
Expand All @@ -21,7 +21,7 @@ get:
content:
application/json; charset=utf-8:
schema:
$ref: ../../components/schemas/content/200-currently-pointed.yaml
$ref: ../../components/schemas/content/200-active-collections.yaml
examples:
default:
$ref: ../../components/examples/content/200-currently-pointed.json
$ref: ../../components/examples/content/200-active-collections.json

0 comments on commit caafb79

Please sign in to comment.