Bug in parser - doesn't allow summary and description after path
See original GitHub issueI’m pretty sure that I’ve found a bug in the parser.
If you have a summary and/or description after the path in a definition as in this example from the OpenApi definition here https://swagger.io/docs/specification/paths-and-operations/
paths:
/users/{id}:
summary: Represents a user
description: >
This resource represents an individual user in the system.
Each user is identified by a numeric `id`.
get:
...
then the parser will fail. Remove that summary and description and it passes correctly.
(it is correctly happy with summary and description after the verb, but consistently fails if they exist after the path and before the verb).
Regards,
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
"Content is not allowed in prolog" when parsing perfectly ...
Unexpected reason: # character in file path. Due to some internal bug, the error Content is not allowed in prolog also appears if...
Read more >Path doesn't contain parameters after deserialization #545
Hello,. I'm trying to read defined path parameters from Path object after deserialization, but I found out that the list is always null....
Read more >[BUG][openapi-generator-maven-plugin] importmapping ...
Description. The "importMappings" seem to have no effect with version 5.4.0. With version 5.3.1 the below configuration resulted in a " ...
Read more >RStudio can't deal with file names with unicode characters
I've suddenly started having a problem in RStudio when I've got file/folder names that contain unicode characters.
Read more >FindBugs Bug Descriptions - SourceForge
When such an object is deserialized, the fields of the superclass need to be initialized by invoking the void constructor of the superclass....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have now tried with the latest version and the problem is resolved. Thanks!
Have you tried with latest version (13.1.5)?