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

Why using custom example generator instead of relying on protagonist output? #348

Open
goganchic opened this issue Jan 16, 2018 · 0 comments

Comments

@goganchic
Copy link

c14f143 this commit is a source of such problem:

# Foo

# Data Structures

## Test (object)
+ One Of
    + Properties
        + A: x (enum, required)
        + B: x (required, string)
    + Properties
        + A: y (enum, required)
        + C: y (required, string)
    + Properties
        + A: z (enum, required)

# GET /foo
+ Response 200 (application/json)
    + Attributes (Test)

Such doc gives {"A": "x"} as an example instead of {"A": "x", "B": "x"}. Is it essential now to generate examples using aglio instead of using protagonist output?

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