Improve Go client tests (#21919)

* test withXml option

* fix path

* update go code (withXml: true)

* test one more go client
This commit is contained in:
William Cheng
2025-09-08 16:45:46 +08:00
committed by GitHub
parent 6e089f5f03
commit bdfbb32cdd
5 changed files with 14 additions and 11 deletions

View File

@@ -5,10 +5,12 @@ on:
paths:
- 'samples/openapi3/client/petstore/go/go-petstore-aws-signature/**'
- 'samples/openapi3/client/petstore/go-petstore-withXml/**'
- samples/openapi3/client/petstore/go-petstore-generateMarshalJSON-false/**
pull_request:
paths:
- 'samples/openapi3/client/petstore/go/go-petstore-aws-signature/**'
- 'samples/openapi3/client/petstore/go-petstore-withXml/**'
- samples/openapi3/client/petstore/go-petstore-generateMarshalJSON-false/**
jobs:
build:
@@ -20,6 +22,7 @@ jobs:
sample:
- 'samples/openapi3/client/petstore/go/go-petstore-aws-signature/'
- 'samples/openapi3/client/petstore/go-petstore-withXml/'
- samples/openapi3/client/petstore/go-petstore-generateMarshalJSON-false/
steps:
- uses: actions/checkout@v5
- uses: actions/setup-go@v6