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 validation executor #40

Open
5 tasks
trumbitta opened this issue Aug 4, 2021 · 1 comment
Open
5 tasks

Add validation executor #40

trumbitta opened this issue Aug 4, 2021 · 1 comment
Labels
enhancement New feature or request plugin-openapi

Comments

@trumbitta
Copy link
Owner

trumbitta commented Aug 4, 2021

Preliminary ideas:

  • Create new validation executor to validate the openapi spec (research for best tool for the job)
  • Add generator to configure the validation target for api-spec libs
  • Add generator to add the validateSpec option to the generate-sources target of api-lib libs (validates the spec before doing anything else, doesn't go through if validation fails)
  • Update the api-lib generator to optionally add validateSpec to the generate-sources target
  • Update the api-lib executor to validate when validateSpec is true (default: false)
@trumbitta trumbitta added the enhancement New feature or request label Aug 4, 2021
@trumbitta
Copy link
Owner Author

Or I think the OpenAPI CLI already can validate specs, so there's that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request plugin-openapi
Projects
None yet
Development

No branches or pull requests

1 participant