Skip to content

[codex] Make Swagger match backend behavior#313

Merged
jjoonleo merged 2 commits into
devfrom
codexd/swagger-coherent-openapi
May 14, 2026
Merged

[codex] Make Swagger match backend behavior#313
jjoonleo merged 2 commits into
devfrom
codexd/swagger-coherent-openapi

Conversation

@jjoonleo
Copy link
Copy Markdown
Contributor

@jjoonleo jjoonleo commented May 14, 2026

Summary

  • Align OpenAPI security with the backend auth filter behavior by documenting the real access and refresh token headers.
  • Stop public endpoints from inheriting JWT security in generated Swagger.
  • Remove phantom GET request bodies and stale hand-written response examples so generated schemas reflect controller return types.
  • Update auth endpoint docs to match filter-handled login/signup behavior and token response headers.
  • Prevent Kakao login from appending a second JSON body after the filter already writes the login/register response.
  • Add unit coverage for the Swagger customizer invariants.

Conflict resolution

  • Merged latest origin/dev into codexd/swagger-coherent-openapi.
  • Resolved the ApiResponseForm conflict by keeping dev's Object code behavior and preserving the Swagger schema metadata.

Validation

  • git diff --check
  • JAVA_HOME=/Users/ejunpark/.sdkman/candidates/java/17.0.12-oracle ./gradlew test --tests devkor.ontime_back.config.SwaggerConfigTest

jjoonleo added 2 commits May 14, 2026 13:40
…t-openapi

# Conflicts:
#	ontime-back/src/main/java/devkor/ontime_back/response/ApiResponseForm.java
@jjoonleo jjoonleo marked this pull request as ready for review May 14, 2026 04:51
@jjoonleo jjoonleo merged commit 2adb6c1 into dev May 14, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

1 participant