openapi-processor / openapi-processor-core

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

Support for pattern Bean Validation #63

Closed schlagi123 closed 3 years ago

schlagi123 commented 3 years ago

Hi, it would be great, if the generator could resolve the pattern property (in models) to a @Pattern annotation (Bean Validation)

hauner commented 3 years ago

available in 2021.4-SNAPSHOT, you can test it by adding it to the processor configuration.

Example:

  // ...
  spring {
     processor 'io.openapiprocessor:openapi-processor-core:2021.4-SNAPSHOT'
     processor 'io.openapiprocessor:openapi-processor-spring:2021.3.1'
     // ...
  }