Skip to content

Strict EndpointDefinition#path_params, #query_params #32

@jwfearn

Description

@jwfearn

The schema values accessed via EndpointDefinition#path_params and EndpointDefinition#query_params methods are not JSON Schema 3 or 4 compliant.

I believe the fix is to add the following after https://github.com/seomoz/interpol/blob/master/lib/interpol/endpoint.rb#L203:

make_schema_strict!(@path_params)
make_schema_strict!(@query_params)

related issue: #30

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