Skip to content

Test for embedded definitions (using single Swagger/OpenAPI file) #80

Open
@Ajaxy

Description

@Ajaxy

I have a JSON file with embedded schemas in the definitions object. Is it possible to test for those schemas straight with match_json_schema()?

Neither match_json_schema('openapi#/definitions/SomeSchema') or match_json_schema('openapi.json#/definitions/SomeSchema') are seem to work, so now I have to manually create separate files for each schema of my definitions before I run tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions