Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support narrowing to a JSON Schema type in WADL #362

Open
RackerWilliams opened this issue Aug 28, 2017 · 0 comments
Open

Support narrowing to a JSON Schema type in WADL #362

RackerWilliams opened this issue Aug 28, 2017 · 0 comments
Milestone

Comments

@RackerWilliams
Copy link
Contributor

There was a promise to support this a couple of years ago don't want to lose it:

Okay here’s my recommendation:

Use the json schema namespace below...

<application xmlns="http://wadl.dev.java.net/2009/02”
                    xmlns:json="http://json-schema.org/schema#”>

then in the representation element use ref attribute in that namespace to put a JSON Pointer to the schema that should validate it:

<representation mediaType="application/json” json:ref="http://docs.openstack.org/api/open
stack-block-storage/v2/volume#post">

I’ll make sure to honor this at our end.

@RackerWilliams RackerWilliams added this to the Backlog milestone Aug 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant