-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenAPI Generator: Expose configuration for import mapping / schema mapping #1421
Comments
altro3
added a commit
to altro3/micronaut-openapi
that referenced
this issue
Feb 9, 2024
schemaMapping importMapping nameMapping typeMapping enumNameMapping modelNameMapping Fixed micronaut-projects#1421
altro3
added a commit
to altro3/micronaut-openapi
that referenced
this issue
Feb 10, 2024
schemaMapping importMapping nameMapping typeMapping enumNameMapping modelNameMapping Fixed micronaut-projects#1421
altro3
added a commit
to altro3/micronaut-openapi
that referenced
this issue
Feb 11, 2024
schemaMapping importMapping nameMapping typeMapping enumNameMapping modelNameMapping inlineSchemaNameMapping inlineSchemaOption openapiNormalizer Fixed micronaut-projects#1421
altro3
added a commit
to altro3/micronaut-openapi
that referenced
this issue
Feb 11, 2024
schemaMapping importMapping nameMapping typeMapping enumNameMapping modelNameMapping inlineSchemaNameMapping inlineSchemaOption openapiNormalizer apiNamePrefix apiNameSuffix modelNamePrefix modelNameSuffix Fixed micronaut-projects#1421
altro3
added a commit
to altro3/micronaut-openapi
that referenced
this issue
Feb 11, 2024
Add support additional properties for openapi-generator: schemaMapping importMapping nameMapping typeMapping enumNameMapping modelNameMapping inlineSchemaNameMapping inlineSchemaOption openapiNormalizer apiNamePrefix apiNameSuffix modelNamePrefix modelNameSuffix Fixed micronaut-projects#1421
altro3
added a commit
to altro3/micronaut-openapi
that referenced
this issue
Feb 15, 2024
Add support additional properties for openapi-generator: schemaMapping importMapping nameMapping typeMapping enumNameMapping modelNameMapping inlineSchemaNameMapping inlineSchemaOption openapiNormalizer apiNamePrefix apiNameSuffix modelNamePrefix modelNameSuffix Fixed micronaut-projects#1421
altro3
added a commit
to altro3/micronaut-openapi
that referenced
this issue
Feb 15, 2024
Add support additional properties for openapi-generator: schemaMapping importMapping nameMapping typeMapping enumNameMapping modelNameMapping inlineSchemaNameMapping inlineSchemaOption openapiNormalizer apiNamePrefix apiNameSuffix modelNamePrefix modelNameSuffix Fixed micronaut-projects#1421
altro3
added a commit
to altro3/micronaut-openapi
that referenced
this issue
Feb 15, 2024
Add support additional properties for openapi-generator: schemaMapping importMapping nameMapping typeMapping enumNameMapping modelNameMapping inlineSchemaNameMapping inlineSchemaOption openapiNormalizer apiNamePrefix apiNameSuffix modelNamePrefix modelNameSuffix Fixed micronaut-projects#1421
altro3
added a commit
to altro3/micronaut-openapi
that referenced
this issue
Feb 16, 2024
Add support additional properties for openapi-generator: schemaMapping importMapping nameMapping typeMapping enumNameMapping modelNameMapping inlineSchemaNameMapping inlineSchemaOption openapiNormalizer apiNamePrefix apiNameSuffix modelNamePrefix modelNameSuffix Fixed micronaut-projects#1421
sdelamo
pushed a commit
that referenced
this issue
Feb 16, 2024
Add support additional properties for openapi-generator: schemaMapping importMapping nameMapping typeMapping enumNameMapping modelNameMapping inlineSchemaNameMapping inlineSchemaOption openapiNormalizer apiNamePrefix apiNameSuffix modelNamePrefix modelNameSuffix Fixed #1421
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature description
Hi,
OpenAPITools support customization by schema mapping and import mapping:
See: https://openapi-generator.tech/docs/customization/#schema-mapping
and: https://openapi-generator.tech/docs/customization/#bringing-your-own-models
It seems that these two options are already used internally, but are not made available for external configuration (especially for the gradle plugin).
It would be very helpful to provide these two options to reuse models from your own libraries instead of having them generated. For example, you can use existing models for error responses.
The text was updated successfully, but these errors were encountered: