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

Fixed some invalid examples #1454

Merged
merged 1 commit into from
Feb 9, 2018
Merged

Fixed some invalid examples #1454

merged 1 commit into from
Feb 9, 2018

Conversation

jstoiko
Copy link
Contributor

@jstoiko jstoiko commented Jan 5, 2018

It is understood that most examples showcased in the OAS spec are snippets, not entire OAS documents. However some of those snippets would not be valid even if included in entire OAS documents. This PR is an attempt to fix some of those examples.

List of changes:

  • added a GeneralError schema inside the Components Object Example
  • split the Example Object Example into multiple examples (and fixed the indention)

It is understood that most examples showcased in the OAS spec are snippets, not entire OAS documents. However some of those snippets would not be valid even if included in entire OAS documents. This PR is an attempt to fix some of those examples.

**List of changes**:
- added a `GeneralError` schema inside the `Components Object Example`
- split the `Example Object Example` into multiple examples
@webron webron merged commit 9d3e946 into OAI:v3.0.2-dev Feb 9, 2018
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.

3 participants