Skip to content
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

Closed
shataya opened this issue Feb 6, 2024 · 0 comments · Fixed by #1427
Closed

OpenAPI Generator: Expose configuration for import mapping / schema mapping #1421

shataya opened this issue Feb 6, 2024 · 0 comments · Fixed by #1427

Comments

@shataya
Copy link

shataya commented Feb 6, 2024

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.

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
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant