Skip to content

Commit

Permalink
Fix OAS 3.0 headers
Browse files Browse the repository at this point in the history
  • Loading branch information
bonjourmauko committed Oct 16, 2022
1 parent 179d267 commit c96c1df
Show file tree
Hide file tree
Showing 3 changed files with 253 additions and 222 deletions.
2 changes: 1 addition & 1 deletion openfisca_web_api/loader/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def get_situation_json_schema(tax_benefit_system):
entity.plural: {
'type': 'object',
'additionalProperties': {
"$ref": "#/definitions/{}".format(entity.key.title())
"$ref": "#/components/schemas/{}".format(entity.key.title())
}
}
for entity in tax_benefit_system.entities
Expand Down
Loading

0 comments on commit c96c1df

Please sign in to comment.