Skip to content

Commit

Permalink
[YAML schema] Fix candidate key to meta (aces#8917)
Browse files Browse the repository at this point in the history
Both the code and the markdown API schema use "Meta" as the key, not "Candidate", bring the YAML inline with the expected behaviour.
  • Loading branch information
zaliqarosli authored Oct 24, 2023
1 parent ded19be commit ccbc13a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/api/static/schema-v0.0.4-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2199,7 +2199,7 @@ components:
inline_response_200_2:
type: object
properties:
Candidate:
Meta:
$ref: '#/components/schemas/Candidate'
Visits:
type: array
Expand Down
2 changes: 1 addition & 1 deletion modules/api/static/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2142,7 +2142,7 @@ components:
inline_response_200_2:
type: object
properties:
Candidate:
Meta:
$ref: '#/components/schemas/Candidate'
Visits:
type: array
Expand Down

0 comments on commit ccbc13a

Please sign in to comment.