Fix casts for typescript-fetch enum keys not working on number-based … #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Samples Java Client JDK11 | |
on: | |
push: | |
paths: | |
- 'samples/client/petstore/java/**' | |
- samples/client/petstore/jaxrs-cxf-client/** | |
- samples/client/petstore/java-micronaut-client/** | |
- samples/openapi3/client/petstore/java/jersey2-java8-special-characters/** | |
- samples/openapi3/client/petstore/java/jersey2-java8-swagger1/** | |
- samples/openapi3/client/petstore/java/jersey2-java8-swagger2/** | |
- samples/openapi3/client/petstore/java/native** | |
- samples/client/others/java/okhttp-gson-oneOf/** | |
- samples/client/others/java/resttemplate-useAbstractionForFiles/** | |
- samples/client/others/java/webclient-useAbstractionForFiles/** | |
- samples/client/others/java/jersey2-oneOf-duplicates/** | |
- samples/client/others/java/jersey2-oneOf-Mixed/** | |
- samples/client/others/java/resttemplate-list-schema-validation/** | |
pull_request: | |
paths: | |
- 'samples/client/petstore/java/**' | |
- samples/client/petstore/jaxrs-cxf-client/** | |
- samples/client/petstore/java-micronaut-client/** | |
- samples/openapi3/client/petstore/java/jersey2-java8-special-characters/** | |
- samples/openapi3/client/petstore/java/jersey2-java8-swagger1/** | |
- samples/openapi3/client/petstore/java/jersey2-java8-swagger2/** | |
- samples/openapi3/client/petstore/java/native** | |
- samples/client/others/java/okhttp-gson-oneOf/** | |
- samples/client/others/java/resttemplate-useAbstractionForFiles/** | |
- samples/client/others/java/webclient-useAbstractionForFiles/** | |
- samples/client/others/java/jersey2-oneOf-duplicates/** | |
- samples/client/others/java/jersey2-oneOf-Mixed/** | |
- samples/client/others/java/resttemplate-list-schema-validation/** | |
jobs: | |
build: | |
name: Build Java Client JDK11 | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
sample: | |
# clients | |
- samples/client/petstore/jaxrs-cxf-client | |
- samples/client/petstore/java/native | |
- samples/client/petstore/java/native-async | |
- samples/client/petstore/java/native-jakarta | |
- samples/client/petstore/java/retrofit2 | |
- samples/client/petstore/java/retrofit2rx2 | |
- samples/client/petstore/java/retrofit2rx3 | |
- samples/client/petstore/java/retrofit2-play26 | |
- samples/client/petstore/java/resttemplate | |
- samples/client/petstore/java/resttemplate-withXml | |
- samples/client/petstore/java/webclient | |
- samples/client/petstore/java/webclient-nullable-arrays | |
- samples/client/petstore/java/webclient-swagger2 | |
- samples/client/petstore/java/vertx | |
- samples/client/petstore/java/jersey2-java8-localdatetime | |
- samples/client/petstore/java/google-api-client | |
- samples/client/petstore/java/rest-assured | |
- samples/client/petstore/java/rest-assured-jackson | |
- samples/client/petstore/java/microprofile-rest-client | |
- samples/client/petstore/java/microprofile-rest-client-3.0 | |
- samples/client/petstore/java/microprofile-rest-client-3.0-jackson | |
- samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml | |
- samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter | |
- samples/client/petstore/java/apache-httpclient | |
- samples/client/petstore/java/feign | |
- samples/client/petstore/java/okhttp-gson-awsv4signature | |
- samples/openapi3/client/petstore/java/jersey2-java8-special-characters | |
- samples/openapi3/client/petstore/java/native | |
- samples/client/petstore/java/okhttp-gson-swagger1/ | |
- samples/client/petstore/java/resttemplate-swagger1/ | |
- samples/openapi3/client/petstore/java/jersey2-java8-swagger1/ | |
- samples/client/petstore/java/okhttp-gson-swagger2/ | |
- samples/client/petstore/java/resttemplate-swagger2/ | |
- samples/openapi3/client/petstore/java/jersey2-java8-swagger2/ | |
- samples/client/others/java/okhttp-gson-oneOf/ | |
- samples/client/echo_api/java/okhttp-gson-user-defined-templates/ | |
- samples/client/others/java/resttemplate-useAbstractionForFiles/ | |
- samples/client/others/java/webclient-useAbstractionForFiles/ | |
- samples/client/others/java/jersey2-oneOf-duplicates/ | |
- samples/client/others/java/jersey2-oneOf-Mixed/ | |
- samples/client/others/java/resttemplate-list-schema-validation/ | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: 11 | |
- name: Cache maven dependencies | |
uses: actions/cache@v4 | |
env: | |
cache-name: maven-repository | |
with: | |
path: | | |
~/.m2 | |
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }} | |
- name: Build | |
working-directory: ${{ matrix.sample }} | |
run: mvn clean package --no-transfer-progress |