Skip to content

Handle Swagger Schema Objects #17

@jeremyb

Description

@jeremyb

Hi,

I'm using Swagger to define Schema Objects which are based on the JSON Schema Specification Draft 4.

I have a standalone example that you can find here:
https://gist.github.com/jeremyb/a0419ad9d5501fb602f052169112166f

I'm curious to know if you might be interested to make symfony-json-rest-api works with Swagger (not only with separate JSON Schema files).

Currently, I see some issues with the PayloadValidator class (especially with $jsonSchemaFilename: file_exists and realpath calls).

Also, we probably need to update JsonSchemaTools to allow the creation from a SchemaStorage?

Do you have some ideas about how to handle that? I'm available to contribute in the next days/weeks :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions