Skip to content

[Go][Experimental] Add the option disallowAdditionalPropertiesIfNotPresent#6908

Merged
wing328 merged 3 commits intomasterfrom
enhance-disallowAdditionalPropertiesIfNotPresent
Jul 11, 2020
Merged

[Go][Experimental] Add the option disallowAdditionalPropertiesIfNotPresent#6908
wing328 merged 3 commits intomasterfrom
enhance-disallowAdditionalPropertiesIfNotPresent

Conversation

@wing328
Copy link
Copy Markdown
Member

@wing328 wing328 commented Jul 10, 2020

Add the option disallowAdditionalPropertiesIfNotPresent to support "additonalProperties: true" by default

PR checklist

  • Read the contribution guidelines.
  • If contributing template-only or documentation-only changes which will change sample output, build the project beforehand.
  • Run the shell script ./bin/generate-samples.shto update all Petstore samples related to your fix. This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master. These must match the expectations made by your contribution. You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example ./bin/generate-samples.sh bin/config/java*. For Windows users, please run the script in Git BASH.
  • File the PR against the correct branch: master
  • Copy the technical committee to review the pull request if your PR is targeting a particular programming language.

cc @antihax (2017/11) @grokify (2018/07) @kemokemo (2018/09) @bkabrda (2019/07)

@wing328 wing328 requested a review from jimschubert as a code owner July 11, 2020 07:59
@wing328 wing328 merged commit 57bf9e8 into master Jul 11, 2020
@wing328 wing328 deleted the enhance-disallowAdditionalPropertiesIfNotPresent branch July 11, 2020 08:53
MosheElisha pushed a commit to MosheElisha/openapi-generator that referenced this pull request Jul 12, 2020
…esent (OpenAPITools#6908)

* add disallowAdditionalPropertiesIfNotPresent to go exp generator

* update cache key

* fix spring.xml with 5.0.0-SNAPSHOT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant