Skip to content
This repository was archived by the owner on Mar 16, 2025. It is now read-only.

allow endpoint mapping by http method #55

@hauner

Description

@hauner

currently an endpoint specific mapping applies to all http methods. This limits the usefulness of the endpoint mapping because you don't always need/want the mapping for all http methods.

this applies the mappings to all methods (current behaviour):

openapi-processor-mapping: v2

map:
  paths:
    /foo:
      types:
        - type: from => to

this applies the mappings only to the given http method (new/additional behaviour):

openapi-processor-mapping: v2

map:
  paths:
    /foo:
      get:
        types:
          - type: A => B

      patch:
        types:
          - type: A => C

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions