Skip to content

[BUG] Spec source from inputSpec is ignored #163

@pfeileon

Description

@pfeileon

🐛 Bug Report:

Describe the bug

Property inputSpec is ignored, which makes using remote specs impossible. According to the json schema this should be supported:

"inputSpec": {
          "type": "string",
          "description": "location of the OpenAPI spec, as URL or file (required if not loaded via config using -c)"
        },

https://github.com/OpenAPITools/openapi-generator-cli/blob/master/apps/generator-cli/src/config.schema.json

Expected behavior

Defining an HTTP URL to a remote spec via inputSpec should be possible.

Additional context

The method generate in generator.service.ts ignores the inputSpec property and only considers glob.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingreleased

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions