UNPKG

@nx-dotnet/core

Version:

- Have an existing nx workspace. For creating this, see [nrwl's documentation](https://nx.dev/latest/angular/getting-started/nx-setup). - .NET SDK is installed, and `dotnet` is available on the path. For help on this, see [Microsoft's documentation](https

36 lines (35 loc) 1.1 kB
{ "version": 2, "$schema": "http://json-schema.org/schema", "title": "OpenapiCodegen executor", "description": "Invokes `nx g @nx-dotnet/core:swagger-typescript` with the proper parameters to update a codegen based library", "type": "object", "properties": { "useOpenApiGenerator": { "type": "boolean", "description": "Use the OpenAPI generator to generate the code" }, "openApiGeneratorTemplate": { "type": "string", "description": "The template to use for the OpenAPI generator", "default": "typescript-fetch" }, "openApiGeneratorArgs": { "type": "array", "description": "Additional arguments to pass to the OpenAPI generator", "items": { "type": "string" }, "default": ["--global-property=models,apis"] }, "openapiJsonPath": { "type": "string", "description": "Path to OpenAPI spec file" }, "outputProject": { "type": "string", "description": "Which project should hold the generated code?" } }, "required": ["outputProject", "openapiJsonPath"] }