Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

[unused] adds request_body module #46

Merged
merged 3 commits into from
Oct 18, 2022

Conversation

spacether
Copy link
Contributor

@spacether spacether commented Oct 18, 2022

adds request_body module
this will be useful when request bodies are imported from components

PR checklist

  • Read the contribution guidelines.
  • Pull Request title clearly describes the work in the pull request and Pull Request description provides details about how to validate the work. Missing information here may result in delayed response from the community.
  • Run the following to build the project and update samples:
    ./mvnw clean package 
    ./bin/generate-samples.sh
    ./bin/utils/export_docs_generators.sh
    
    Commit all changed files.
    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/configs/python*.
    For Windows users, please run the script in Git BASH.

@spacether spacether merged commit 55875b1 into v_2_0_0_branch Oct 18, 2022
@spacether spacether added this to the 2.0.0 milestone Oct 18, 2022
@spacether spacether deleted the v2_0_0_request_body_module branch October 18, 2022 21:55
spacether added a commit that referenced this pull request Oct 20, 2022
* Java and template updates for separate request body module

* Samples updated

* Samples regenerated
spacether added a commit that referenced this pull request Oct 26, 2022
* Java and template updates for separate request body module

* Samples updated

* Samples regenerated
spacether added a commit that referenced this pull request Oct 27, 2022
[v2] Restructures endpoint data (#35)

* Restructures endpoint data, modules written for responses

* Endpoint docs improved, not done yet

* Updates header_params

* Updates path_parameters

* Updates cookie_params, updates x_params to say key + input type

* Samples updated

* Fixes DefaultCodegenTests

v2.0.0 adds request_body module (#46)

* Java and template updates for separate request body module

* Samples updated

* Samples regenerated

V2.0.0 adds parameter modules, response packages, and response header modules (#47)

* Adds parameter template and code to write it

* Writes module for each parameter

* Removes prependFormOrBodyParameters

* Sample regenrated

* Samples regenerated

* Fixes readme example

* simplifies setting items and additional_properties var names

* Regenerates sample with fixed schema names

* Samples regenerated

* Fixes java docstirng typo

* Fixes JavaModelTest tests

* Fixes tests in JavaModelEnumTest

* FIxes tests in JavaClientCodegenTest

* FIxes tests in DefaultGeneratorTest

* FIxes tests in DefaultCodegenTest

* Adds HeaderParameterWithoutName to api_client

* Sample regenerated, responses are now modules

* Moves request body schemas to the root indentation level of the response modules

* Adds code to generate response header modules

* Updates fromParameter

* Sample updated, fixed bug where form param was not seen as body

* Samples regenerated

* Fixes java tests

2.0.0, moves models into components.schema package (#51)

* python client modelPackage updated

* Fixes links in model_doc template

* Samples updated and python client path methods updated

* Models sucessfully moved into components/schema in one sample

* Replaces model import with components.schema

* Fixes readme imports

* Fixes model doc links from endpoint docs

* Samples regenerated

* Fixes manual test model imports

* Samples regenerated, added init for test components

* Removes model models folders

Changes complexType to refClass (#52)
@spacether spacether restored the v2_0_0_request_body_module branch October 27, 2022 01:29
@spacether spacether deleted the v2_0_0_request_body_module branch October 27, 2022 01:36
@spacether spacether changed the title v2.0.0 adds request_body module [unused] adds request_body module Oct 27, 2022
@spacether
Copy link
Contributor Author

This branch will not be used, 2_0_0 will be used instead

@spacether spacether removed this from the 2.0.0 milestone Oct 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant