Skip to content

Fetch request inline (single) example#15580

Closed
gcatanese wants to merge 126 commits intoOpenAPITools:masterfrom
gcatanese:request-inline-example
Closed

Fetch request inline (single) example#15580
gcatanese wants to merge 126 commits intoOpenAPITools:masterfrom
gcatanese:request-inline-example

Conversation

@gcatanese
Copy link
Copy Markdown
Contributor

This PR makes the (single) request example available during the code generation. Currently only examples are fetched and available.

Fix #15579

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/java*.
    For Windows users, please run the script in Git BASH.
  • In case you are adding a new generator, run the following additional script :
    ./bin/utils/ensure-up-to-date
    
    Commit all changed files.
  • File the PR against the correct branch: master (6.3.0) (minor release - breaking changes with fallbacks), 7.0.x (breaking changes without fallbacks)
  • If your PR is targeting a particular programming language, @mention the technical committee members, so they are more likely to review the pull request.

gcatanese and others added 30 commits May 19, 2023 17:37
* fix incomplete codegensecurity copies

* refactoring
* use docker

* update

* skip httpclient

* update

* sleep 120

* use cmd

* restore tests

* sleep 120

* clean up

* skip
* update to jdk11, fix tests

* update workflow to use jdk11 instead

* update travis, circleci build

* fix test failure, update CI

* skip mvn install in appveyor

* add windows tests

* fix workflow

* remove log level

* add timeout

* sleep more

* skip tests

* sleep more

* only skip tests

* test with jdk11 only

* fix gradlew

* remove skip tests

* start server after build

* update gradle version

* more time to start server

* update to 420

* comment out build

* update

* update
* update pom.xml with new plugin, setting

* update workflow
* set maven to 3.9

* add java version

* fix maven version

* fix java version
…do not use HttpBearerAuth (or HttpBasicAuth) for other http auth methods (such as http signature auth or custom schemes) (OpenAPITools#15220)

* remove http signature from test yaml when not supported

* do not use HttpBearerAuth for signature auth or other unsupported http auth method

ignore unsupported http auth method unless generated code would not compile (in which case, an exception is thrown)

* [Java] fix use of isBasic condition

* [kotlin] fix use of isBasic condition
* better enforcer with gradle mgmt plugin

* update gradle-enterprise

* fix id
* removed .netcore 3.1

* dont use .net standard for test package
* Added library 'jvm-spring-webclient' to Kotlin client generator

* Reran all generators and generated docs

* Changed target of kotlin-jvm-spring-webclient sample from 2_0 to 3_0

* Added build of kotlin-jvm-spring-webclient to github workflow
…penAPITools#15608)

* better code foramt, add library creator

* remove kotlin server deprecated generator
Signed-off-by: Huan-Cheng Chang <changhc84@gmail.com>
@wing328
Copy link
Copy Markdown
Member

wing328 commented Jun 5, 2023

can you please resolve the merge conflicts when you've time?

@wing328
Copy link
Copy Markdown
Member

wing328 commented Jun 5, 2023

cc @OpenAPITools/generator-core-team

@gcatanese gcatanese requested a review from jimschubert as a code owner June 5, 2023 19:45
@gcatanese
Copy link
Copy Markdown
Contributor Author

@wing328 Done

@wing328
Copy link
Copy Markdown
Member

wing328 commented Jun 15, 2023

this PR now contains commits not authored by you.

do you mind submitting a new PR based on the latest master instead?

@gcatanese
Copy link
Copy Markdown
Contributor Author

@wing328 Please see #15857

@gcatanese
Copy link
Copy Markdown
Contributor Author

Superseded by #15857

@gcatanese gcatanese closed this Jun 16, 2023
@gcatanese gcatanese deleted the request-inline-example branch June 16, 2023 06:09
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.

[BUG] Single request example not provided