openapi-processor / openapi-processor-core

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

Base path missing #75

Open danielkocot opened 3 years ago

danielkocot commented 3 years ago

When I describe an API Spec

openapi: 3.0.3
servers:
  - url: 'http://localhost:8080/api'

the base path will be ignored. I can't anything in the documentation.

hauner commented 3 years ago

Yes, it is not used. What would be your expectation?

Looking at the possibilities, it would work only for a subset of them. For example only single url and single value for a path variable. Which would be ok for me. Hmm, maybe it would even work for more than a single url, I think the Spring annotation allows to configure multiple paths.

Questions over questions :-)

danielkocot commented 3 years ago

Yes, there are so many questions and possibilities. In my first reaction I wanted to put an annotation on generated interface. But now I added an annotation to the controller which implemented the api interface.