question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug in parser - doesn't allow summary and description after path

See original GitHub issue

I’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:closed
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
n-alex-whitecommented, Feb 6, 2020

I have now tried with the latest version and the problem is resolved. Thanks!

1reaction
RicoSutercommented, Nov 15, 2019

Have you tried with latest version (13.1.5)?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found