nx-trumbitta
nx-trumbitta copied to clipboard
Add validation executor
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 thegenerate-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 thegenerate-sources
target - [ ] Update the api-lib executor to validate when
validateSpec
istrue
(default:false
)
Or I think the OpenAPI CLI already can validate specs, so there's that.