Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular 19 build error with immutable package and SwaggerUI #10223

Open
TrystanHumann opened this issue Nov 24, 2024 · 0 comments
Open

Angular 19 build error with immutable package and SwaggerUI #10223

TrystanHumann opened this issue Nov 24, 2024 · 0 comments

Comments

@TrystanHumann
Copy link

Q&A (please complete the following information)

  • OS: macOS
  • Browser: chrome
  • Version: 124.0.6367.78
  • Method of installation: npm
  • Swagger-UI version: 5.18.2
  • Swagger/OpenAPI version: Swagger 2.0

Content & configuration

Swagger-UI configuration options:

SwaggerUI({
      domNode: document.getElementById('swagger-ui-item'),
      url: 'https://petstore.swagger.io/v2/swagger.json',
    });

Describe the bug you're encountering

To reproduce...

Steps to reproduce the behavior:

  1. With angular 19 and swaggerUI 5.18.2 installed, try to display a swagger doc
  2. When page loads, it will point you to a map call on immutable which doesn't exist in the swaggerUI version.

Expected behavior

SwaggerUI should not throw an error and display the swagger doc.

Screenshots

Console error printed above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant