openapi-processor / openapi-processor-core

moved into openapi-processor-base
Apache License 2.0
7 stars 5 forks source link

endpoint mapping by http method #54

Closed hauner closed 3 years ago

hauner commented 3 years ago

currently the endpoint mappings are applied to all http methods of a single endpoint:

openapi-processor-mapping: v2.0

map:
  paths:
    /foo:
      parameters:
        - add: request => javax.servlet.http.HttpServletRequest

It should be possible to configure an endpoint mapping only for a specific http method:

openapi-processor-mapping: v2.0

map:
  paths:
    /foo:
      get:
        parameters:
          - add: request => javax.servlet.http.HttpServletRequest
hauner commented 3 years ago

see #55