Open nghiahsgs opened 5 months ago
I faced same issue
I have a question:
When I run the command openapi-generator-cli validate test.yaml
, how can I find the logic for the validate function? I searched the source code but couldn't find any relevant function.
Thank you very much !
When I run the command openapi-generator-cli validate test.yaml, how can I find the logic for the validate function? I searched the source code but couldn't find any relevant function.
it's done in swagger-parser.
⚠️ Important Notice
Please differentiate the bug
This repository is not responsible for the actual code generation. If you have problems with the code generation, please open the bug at OpenAPITools/openapi-generator.
Please also check if the bug is already known before you open a new bug.
🐛 Bug Report:
Describe the bug
A clear and concise description of what the bug is.
Steps to Reproduce
Steps to reproduce the behavior:
paths: /items: get: summary: Get a list of items responses: '200': description: A list of items content: application/json: schema: type: array items: $ref: '#/components/schemas/Item'
components: schemas: Item: type: object properties: id: type: integer format: int64 example: 1 name: type: string example: "Sample Item" status: type: string enum: []