Skip to content

Integrate HEAD on Root Level #338

Description

@nilskasseckert

Hello,
it would make sense to generate a HEAD request at root level ("/"). Every SAP OData API seems to support this. Currently I have to integrate this manually into the OpenAPI.

Use case: Fetching an X-CSRF token. To do this, I simply make a HEAD request at root level with X-CSRF token fetch and receive the token as a response.

Wouldn't it make sense to integrate this in general? I can also try to create a pull request for this, if it is more work.

We use the Java version of the transformation.

Regards,
Nils

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions