Closed sevaru closed 3 years ago
Describe the bug If you URI has enum as a parameter in query or in path then gengen could't fails to generate anything
It's appears after #53 feature implementation
To Reproduce
"/api/v1/Product/GetProductsByStatus/{status}": { "get": { "tags": [ "Product" ], "parameters": [ { "name": "status", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/ProductStatus" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Product" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Product" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Product" } } } } } } } },
Expected behavior
gengen g
should not throw an error
Describe the bug If you URI has enum as a parameter in query or in path then gengen could't fails to generate anything
It's appears after #53 feature implementation
To Reproduce
Expected behavior
should not throw an error