-
Notifications
You must be signed in to change notification settings - Fork 135
Open
Labels
area/generatorAffects: plugin, CLI, config file.Affects: plugin, CLI, config file.area/openapiAdding/updating a feature defined in OpenAPI.Adding/updating a feature defined in OpenAPI.kind/enhancementImprovements to existing feature.Improvements to existing feature.
Milestone
Description
A file that works in openapi generator does not work in openapi-generator. The section that causes the error is:
paths:
/documents:
$ref: './paths/documents.yaml#/documents'
/documents/{document-ident}:
$ref: './paths/documents.yaml#/documents-detail'
in the root file.
Error:
error: Inconsistency encountered when parsing `Vendor Extension` under the `/documents` path: Found at least one vendor extension property that does not begin with the required 'x-' prefix. Invalid properties: [ $ref ].
We always have our paths in separate files for various reasons. This never was a problem before so I think swift-openapi-generator should implement it. ;)
Metadata
Metadata
Assignees
Labels
area/generatorAffects: plugin, CLI, config file.Affects: plugin, CLI, config file.area/openapiAdding/updating a feature defined in OpenAPI.Adding/updating a feature defined in OpenAPI.kind/enhancementImprovements to existing feature.Improvements to existing feature.