@trumbitta/nx-plugin-openapi
Version:
[](https://www.npmjs.com/@trumbitta/nx-plugin-openapi) []()
42 lines (41 loc) • 1.04 kB
JSON
{
"$schema": "http://json-schema.org/schema",
"cli": "nx",
"id": "api-spec",
"title": "Create a lib for an OpenAPI specification file",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "",
"$default": {
"$source": "argv",
"index": 0
},
"x-prompt": "What name would you like to use?",
"pattern": "^[a-zA-Z]{1}.*$"
},
"tags": {
"type": "string",
"description": "Add tags to the project (used for linting)",
"alias": "t"
},
"directory": {
"type": "string",
"description": "A directory where the project is placed",
"alias": "d"
},
"withSample": {
"type": "boolean",
"description": "Also create a sample spec file",
"x-prompt": "Do you want me to also create a sample spec file for you?",
"default": false
},
"skipFormat": {
"description": "Skip formatting files.",
"type": "boolean",
"default": false
}
},
"required": ["name"]
}