Skip to content

path specific URL endpoint using server object url #1356

@jeevarajan

Description

@jeevarajan

In below given example, i need to have customized url for the resource "user-enableuser". i thought in openapi 3.0.0, it can be achieved through server object for each path. Please let me know what i am missing here

"paths": {
    "/user-enableuser": {
      "post": {
		"servers": [{
			"url": "https://x.x.x.x/user"
		}],
        "tags": [
          "user"
        ],
        "summary": " ",
        "operationId": "user@ENABLE",
        "produces": [
          "application/xml"
        ],
        "consumes": [
          "application/xml"
        ],
        "parameters": [
          {
            "schema": {},
            "description": " ",
            "name": "body",
            "required": true,
            "in": "body"
          }
        ],
        "responses": {}
      }
    }

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