Skip to content

Add a way for knowing the springdoc-openapi made the request or not #1163

Closed
@talentedasian

Description

@talentedasian

It would be nice if it was possible to determine whether if springdoc-openapi made the request.

Activity

talentedasian

talentedasian commented on May 15, 2021

@talentedasian
Author

This is already possible through the Referer header name in the HttpServletRequest

talentedasian

talentedasian commented on Jul 11, 2021

@talentedasian
Author

Opening this issue again because the Referer can feasibly spoofed.

bnasslahsen

bnasslahsen commented on Jul 13, 2021

@bnasslahsen
Collaborator

@talentedasian,

With the next release, you can add debug log level on:
org.springdoc.api.AbstractOpenApiResource

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @bnasslahsen@talentedasian

        Issue actions

          Add a way for knowing the springdoc-openapi made the request or not · Issue #1163 · springdoc/springdoc-openapi