Skip to content

Same endpoint for POST and GET method without the duplicate key error? #2698

Closed

Description

@Nikola-Milovic

Hello everyone, I am kinda confused as to why this isn't a thing, or I am I doing this wrong entirely?

I have a user profile path api/user/profile with a GET api/user/profile/{userID} and POST method on the same path. Why isn't that supported, seems like the usual? I mean both should point to the same profile and only differ whether it's a post or a get method. Is this an issue when using a single YAML file or would the issue persist if I split them up into separate files?

(Using swagger)

Activity

  1. locked and limited conversation to collaborators on Sep 3, 2021
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