Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Custom JSON Schema content-type is not valid #392

Closed
pksunkara opened this issue Sep 16, 2016 · 0 comments
Closed

Custom JSON Schema content-type is not valid #392

pksunkara opened this issue Sep 16, 2016 · 0 comments
Labels

Comments

@pksunkara
Copy link
Contributor

Given the following blueprint:

# GET /

+ Response 200 (application/json)
    + Attributes
        + text (string) - My string

    + Schema

            { "id": "https://example.org/test" }

the generated messageBodySchemas contentType is application/json.

Expected

The contentType should be application/schema+json.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant