Skip to content

Introduce content type into generated JSON types#1078

Merged
deepmap-marcinr merged 2 commits intomasterfrom
feature/duplicated-json
Jun 2, 2023
Merged

Introduce content type into generated JSON types#1078
deepmap-marcinr merged 2 commits intomasterfrom
feature/duplicated-json

Conversation

@jamietanna
Copy link
Copy Markdown
Member

As noted in #1051, we have cases where multiple uses of JSON types leads
to a clash in generated type names.

This is a slight breaking change for folks' generated code, but ensures
that conflicts do not happen, and that we are more predictable with
generated type names.

Closes #1051.

As noted in #1051, we have cases where multiple uses of JSON types leads
to a clash in generated type names.

This is a slight breaking change for folks' generated code, but ensures
that conflicts do not happen, and that we are more predictable with
generated type names.

Closes #1051.
@jamietanna jamietanna added the ☢️ breaking change This change would break existing users' code label Jun 2, 2023
@deepmap-marcinr deepmap-marcinr merged commit 5dfa9e6 into master Jun 2, 2023
@jamietanna jamietanna deleted the feature/duplicated-json branch June 2, 2023 16:02
adrianpk pushed a commit to foorester/oapi-codegen that referenced this pull request Jan 16, 2024
* Introduce content type into generated JSON types

As noted in oapi-codegen#1051, we have cases where multiple uses of JSON types leads
to a clash in generated type names.

This is a slight breaking change for folks' generated code, but ensures
that conflicts do not happen, and that we are more predictable with
generated type names.

Closes oapi-codegen#1051.

* Add gorilla/mux to the README
adrianpk added a commit to foorester/oapi-codegen that referenced this pull request May 31, 2024
* Introduce content type into generated JSON types

As noted in oapi-codegen#1051, we have cases where multiple uses of JSON types leads
to a clash in generated type names.

This is a slight breaking change for folks' generated code, but ensures
that conflicts do not happen, and that we are more predictable with
generated type names.

Closes oapi-codegen#1051.

* Add gorilla/mux to the README
danicc097 pushed a commit to danicc097/oapi-codegen that referenced this pull request Aug 31, 2024
* Introduce content type into generated JSON types

As noted in oapi-codegen#1051, we have cases where multiple uses of JSON types leads
to a clash in generated type names.

This is a slight breaking change for folks' generated code, but ensures
that conflicts do not happen, and that we are more predictable with
generated type names.

Closes oapi-codegen#1051.

* Add gorilla/mux to the README
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

☢️ breaking change This change would break existing users' code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom media type is not working properly

2 participants