Create JSON Schema from OpenAPI 3 spec Groovy 3 and Java 11 required Install with https://sdkman.io/ Usage: groovy SchemaConvert.groovy openapi-spec.yaml [-m] The -m option is used to generate a schema compatible with MongoDB.