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

Add supporrt for composed models and reference models #22

Conversation

macisamuele
Copy link
Collaborator

The goal of this PR is to support specifications that have:

  • reference to references
definitions:
  model:
    type: object
    properties: ...
  model_r:
    $ref: '#/definitions/model'
  • definitions that have allOf attributes where only one item does characterise the final schema
definitions:
  model:
    type: object
    allOf:
    - $ref: '#/definitions/something'
    - description: "override the description"

@macisamuele
Copy link
Collaborator Author

@cortinico ping

@cortinico cortinico merged commit 838fe72 into Yelp:master May 15, 2019
@cortinico cortinico added this to the 1.1.0 milestone Jun 13, 2019
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

Successfully merging this pull request may close these issues.

None yet

2 participants