Skip to content

Issue with API Gateway #175

Description

@matthewcummings

I'm not sure yet why this is happening but when I serve my Swagger UI with this plugin via AWS API Gateway, it displays incorrectly - I see a page of garbled binary characters. Everything works fine when I run Hapi locally though. When I curl the endpoint I receive valid HTML however if I add this header "Accept-Encoding: gzip, deflate, br" to my curl command, I see the ame behavior.

Interestingly, the behavior is similar to hapi-swagger/hapi-swagger#528 which makes me wonder if this isn't a problem in the underlying hapi library itself.

Any help is appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions