@nx-dotnet/core:openapi-codegen
OpenapiCodegen executor
Invokes nx g @nx-dotnet/core:swagger-typescript
with the proper parameters to update a codegen based library
Options
useOpenApiGenerator
- (boolean): Use the OpenAPI generator to generate the code
openApiGeneratorTemplate
- (string): The template to use for the OpenAPI generator
Default: "typescript-fetch"
openApiGeneratorArgs
- (array): Additional arguments to pass to the OpenAPI generator
Default: ["--global-property=models,apis"]
openapiJsonPath
- (string): Path to OpenAPI spec file
outputProject
- (string): Which project should hold the generated code?