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

Allow specialized validation and editing of component objects in non-OpenAPI files #492

Open
tedepstein opened this issue Apr 6, 2019 · 1 comment

Comments

@tedepstein
Copy link
Collaborator

Extracted from #488.

Provide a way to edit objects of a recognized component type (e.g. schema, parameter, response, etc.) in YAML files that do not conform to OpenAPI. Specifically:

  • Since the file is not an OpenAPI document, don't attempt to validate the entire document as such.
  • Since an object within that file is recognized as one of the referencable component types defined in OpenAPI, or is being referenced (directly or indirectly) from a valid OpenAPI file, allow specialized editing with code assist and validation on that object.
@tedepstein
Copy link
Collaborator Author

Note: I won't try to elaborate on possible design considerations for a feature like this. I'll just say that the idea, even using a minimal design in a tightly bounded set of cases, is very difficult!

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