Multiple urls for tokenUrl for multiple servers
I have a list of servers like this: servers: - url: https://api.prod.mydomain.com description: Production URL - url: https://api.{environment}.dev.mydomain.com description: Environment URL And would like my securitySchemes for OAuth2 to mention that the tokenUrl will be different depending on the server you use. Either allow tokenUrl to be a list of urls securitySchemes: oAuth2: type: oauth2 description: 'This API is using OAuth 2.0 with password grant type for authentication.' flows: password: tokenUrl: - https://api.environment.dev.mydomain.com/oauth/token - https://api.prod.mydomain.com/oauth/token scopes: read_pet: read your pets write_pet: modify pets in your account Or to use `server` as a variable like this for the tokenUrl string? securitySchemes: oAuth2: type: oauth2 description: 'This API is using OAuth 2.0 with password grant type for authentication.' flows: password: tokenUrl: {server}/oauth/token scopes: read_pet: read your pets write_pet: modify pets in your account Does anyone know of a way to do this?How to refer to models from different packages in auto generated class? Like Pageable
How to refer to models from different packages in same method in auto generated controller? Like "getAllProducts" uses "Pageable" from "org.springframework.data.domain.Pageable" and "Product from "com.pepsico.och.inventory.domain.product.Product" package.If we use x-[class/field]-extra-annotation then it’s adding annotation but not importing class
If we use x-class-extra-annotation or x-field-extra-annotation to add class or field level annotations like these "@JsonInclude(JsonInclude.Include.NON_NULL), then it’s adding the required annotations but it’s not importing the required class. So, how to import let's say JsonInclude in generated dto?