UNPKG

@trumbitta/nx-plugin-openapi

Version:

[![NPM Version](https://badge.fury.io/js/%40trumbitta%2Fnx-plugin-openapi.svg)](https://www.npmjs.com/@trumbitta/nx-plugin-openapi) [![License](https://img.shields.io/npm/l/@trumbitta/nx-plugin-openapi)]()

46 lines (45 loc) 1.47 kB
{ "$schema": "http://json-schema.org/schema", "cli": "nx", "title": "GenerateApiLibSources builder", "description": "Generate API lib source files via @openapitools/openapi-generator-cli", "type": "object", "properties": { "useDockerBuild": { "type": "boolean", "description": "Should the build occur inside of a docker container", "default": false }, "generator": { "type": "string", "description": "The OpenAPITools generator you want to use", "default": "typescript-fetch" }, "additionalProperties": { "type": "string", "description": "The additional properties you want to pass to the generator" }, "globalProperties": { "type": "string", "description": "The global properties you want to pass to the generator" }, "typeMappings": { "type": "string", "description": "What to map OpenAPI types to. E.g. DateTime to Date" }, "sourceSpecPathOrUrl": { "type": "string", "description": "The path (relative to the workspace root) or URL where the source OpenAPI spec file is located at" }, "sourceSpecUrlAuthorizationHeaders": { "type": "string", "description": "A URL-encoded string of name:header with a comma separating multiple values" }, "silent": { "type": "boolean", "description": "Whether or not to suppress generator output", "default": false } }, "required": [] }