Skip to content

Commit

Permalink
set id to schema url as per
Browse files Browse the repository at this point in the history
  • Loading branch information
auramix committed Jul 26, 2023
1 parent cf8bc7a commit 8474029
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flask_rebar/testing/swagger_jsonschema.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

SWAGGER_V2_JSONSCHEMA = {
"title": "A JSON Schema for Swagger 2.0 API.",
"id": "http://swagger.io/v2/schema.json#",
"id": "http://json-schema.org/draft-04/schema#",
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"required": ["swagger", "info", "paths"],
Expand Down Expand Up @@ -865,7 +865,7 @@
}

SWAGGER_V3_JSONSCHEMA = {
"$id": "https://spec.openapis.org/oas/3.1/schema/2022-10-07",
"$id": "https://json-schema.org/draft/2020-12/output/schema",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "The description of OpenAPI v3.1.x documents without schema validation, as defined by https://spec.openapis.org/oas/v3.1.0",
"type": "object",
Expand Down

0 comments on commit 8474029

Please sign in to comment.