Skip to content

Commit c96c1df

Browse files
committed
Fix OAS 3.0 headers
1 parent 179d267 commit c96c1df

3 files changed

Lines changed: 253 additions & 222 deletions

File tree

openfisca_web_api/loader/spec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def get_situation_json_schema(tax_benefit_system):
116116
entity.plural: {
117117
'type': 'object',
118118
'additionalProperties': {
119-
"$ref": "#/definitions/{}".format(entity.key.title())
119+
"$ref": "#/components/schemas/{}".format(entity.key.title())
120120
}
121121
}
122122
for entity in tax_benefit_system.entities

0 commit comments

Comments
 (0)