Skip to content

Add OpenAPI 3 support for JSESSIONID cookie authentication - #301

Open
Doomguy-BFG9000 wants to merge 1 commit into
ePages-de:masterfrom
Doomguy-BFG9000:feat/cookie-auth-256
Open

Doomguy-BFG9000 wants to merge 1 commit into
ePages-de:masterfrom
Doomguy-BFG9000:feat/cookie-auth-256

Conversation

@Doomguy-BFG9000

Copy link
Copy Markdown

Summary

  • detect requests containing a JSESSIONID cookie
  • serialize cookie security requirements into generated resource snippets
  • generate an OpenAPI 3 cookieAuth API-key scheme with in: cookie
  • leave OpenAPI 2 output unchanged because cookie is not a supported API-key location there
  • document the new behavior

Closes #256

Testing

  • ./gradlew test
  • focused rerun of SecurityRequirementsHandlerTest, ResourceSnippetTest, and OpenApi3GeneratorTest

@wodrobina wodrobina self-assigned this Oct 27, 2026
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.

Doesn't it support setting up authentication for cookies?

2 participants