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

external examples do not work #35

Open
neterium opened this issue Feb 27, 2019 · 1 comment · May be fixed by #355
Open

external examples do not work #35

neterium opened this issue Feb 27, 2019 · 1 comment · May be fixed by #355
Labels
example-object external-ref feature New feature request, accepted for probable development

Comments

@neterium
Copy link

The examples given in a separate JSON file are not imported correctly.

https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#request-body-examples

"examples": {
          "user" : {
            "summary": "User Example", 
            "externalValue": "http://foo.bar/examples/user-example.json"
          } 
        }

In the imported example, for the moment, just this API example fields are imported instead of the one given in the "externalValue" field.

@herbertRV
Copy link

Hello!
Any news on this issue?
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
example-object external-ref feature New feature request, accepted for probable development
Projects
None yet
4 participants