Skip to content

MDX Compilation failing for swagger Β #802

Open
@Pratosh22

Description

@Pratosh22

Describe the bug

Generated MDX from swagger causing MDX Compilation to fail. Throws error Unexpected character &(U+0026) in name, expected a name character such as letters, digits,$, or _; whitespace before attributes; or the end of the tag

Expected behavior

There shouldn't be an error during compilation

Current behavior

Throws the above error, and generated MDX has syntax errors.

Screenshots

Screenshot 2024-04-17 at 11 35 53β€―PM Screenshot 2024-04-17 at 11 36 19β€―PM

Your Environment

  • Swagger Version: 2.0
  • Version used: 3.0.0-beta.8 and Docusaurus 3.2.1
  • Environment name and version (e.g. Chrome 59, node.js 5.4, python 3.7.3): Node 18, Brave
  • Operating System and version (desktop or mobile): MacOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requestedreviewing πŸ‘€Undergoing manual audit to determine if issue should still be active

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions