Skip to content

Markdown immediately after SGML comment is not displayed properly by Swagger editor #651

Description

@eric-murray

Problem description
The Swagger editor ignore the markdown header directive following an SGML comment, e.g.:

<!-- CAMARA:MANDATORY:authorization-and-authentication:BEGIN -->
# Authorization and authentication

Expected behaviour
Swagger editor will display the header line properly if there is a preceding blank line, e.g.:

<!-- CAMARA:MANDATORY:authorization-and-authentication:BEGIN -->

# Authorization and authentication

Alternative solution
The API bundling process could remove all SGML headers from releases

Additional context
Redoc displays properly, but is not affected by the additional blank line

Metadata

Metadata

Assignees

No one assigned

    Labels

    correctioncorrection in documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions