openapi-processor / openapi-processor-core

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

Json schema mapping v2 #36

Closed schlagi123 closed 3 years ago

hauner commented 3 years ago

Hi,

thanks for providing a starting point for the schema. 👍 Based on it I created this:

https://github.com/openapi-processor/openapi-processor-core/tree/json-schema/src/main/resources/mapping/v2

Not sure if it is 100% correct. IDEA behaves a bit strange at a couple of places. For example if I have mappings like this:

- type: array => java.util.Collection

- type: Schema => java.util.Map
  generics:
    - java.lang.String
    - java.lang.Double

IDEA shows the expected description for the first case but not for the second.