nx-trumbitta icon indicating copy to clipboard operation
nx-trumbitta copied to clipboard

Add validation executor

Open trumbitta opened this issue 3 years ago • 1 comments

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 avatar Aug 04 '21 13:08 trumbitta

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

trumbitta avatar Sep 25 '21 20:09 trumbitta