Skip to content

Handle untyped schemas #6898

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gibson042
Copy link

Fixes #6896
Depends upon swagger-api/swagger-parser#573

PR checklist

  • Read the contribution guidelines.
  • Ran the shell script under ./bin/ to update Petstore sample so that CIs can verify the change. (For instance, only need to run ./bin/{LANG}-petstore.sh and ./bin/security/{LANG}-petstore.sh if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in .\bin\windows\.
  • Filed the PR against the correct branch: 3.0.0 branch for changes related to OpenAPI spec 3.0. Default: master.
  • Copied the technical committee to review the pull request if your PR is targeting a particular programming langauge.

Description of the PR

As a foundation for #6896, treat untyped schemas like type: object (since many languages have a root type, and even those that don't are fairly well-behaved here) and save language-specific work for later.

@gibson042 gibson042 changed the title Gh 6896 untyped Handle untyped schemas Nov 7, 2017
@wing328
Copy link
Contributor

wing328 commented Nov 13, 2017

@gibson042 thanks for the PR. We'll wait for swagger-api/swagger-parser#573 to be merged first.

@gibson042
Copy link
Author

@wing328 This should now be good to go.

@wing328
Copy link
Contributor

wing328 commented Sep 21, 2018

@gibson042 thanks for tagging me but I'm no longer involved in this project. I hope others will be able to help you out. Good luck.

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

Successfully merging this pull request may close these issues.

4 participants