openapi-core icon indicating copy to clipboard operation
openapi-core copied to clipboard

[Feature]: Validate JSON from a file?

Open papadeltasierra opened this issue 1 year ago • 2 comments

Suggested Behavior

I am using JSON files to provide JSON blobs that get passed to internal methods but I want to make sure that when people extend this process, the JSON they provide really is correct according to the Swager definition. Could there be, or is there already, some way to use this library to do this, possibly by somehow Mocking up something with perhaps a request/response, URL and JSON blob inputs to provide enough for openapi-core to do its stuff?

Why is this needed?

See above.

References

No response

Would you like to implement a feature?

None

papadeltasierra avatar Jun 29 '23 09:06 papadeltasierra

@papadeltasierra please check openapi-spec-validator project.

p1c2u avatar Jul 15 '23 06:07 p1c2u