Skip to content

Swagger UI returns 404 when the new web apps are enabled (--webapps-neo) #51

Open

Description

@kthoms

Description

In the operaton image, Swagger UI is not reachable when the new web apps are enabled with --webapps-neo. The start script logs Swagger UI enabled, but /swaggerui/index.html returns 404.

Steps to reproduce

docker run -d --rm --name op -p 8080:8080 operaton/operaton:2.2.0-jdk25 \
  ./operaton.sh --webapps --webapps-neo --rest --swaggerui
curl -s -o /dev/null -w '%{http_code}\n' localhost:8080/swaggerui/index.html

Observed

Start options /swaggerui/index.html
--webapps --webapps-neo --rest --swaggerui 404
--webapps --rest --swaggerui 200
none (image default) 200

With --webapps-neo, /, /operaton/ and /engine-rest/version respond as expected.

Expected

Swagger UI is served at /swaggerui/index.html regardless of whether the new web apps are enabled.

Notes

operaton-operaton.sh exposes Swagger UI by appending file:/operaton/internal/swaggerui/ to SPRING_WEB_RESOURCES_STATIC_LOCATIONS. The new web apps are served at /, so their resource handling probably takes precedence over, or replaces, the static locations. I have not verified this.

Found while adding the start options to the Helm chart (operaton/operaton-helm).

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions