Andrei Matei c62ebc377e
[Go] Add authentication methods only if referenced in input spec (#14138)
* Add conditions for auth methods

* Add extra auth method validations

* Regenerate example SDK

* Clean-up tests

* Fix indentation and go.sum
2022-12-01 15:29:59 +08:00

13 lines
423 B
Modula-2

module github.com/OpenAPITools/openapi-generator/samples/client/petstore/go
replace github.com/OpenAPITools/openapi-generator/samples/client/petstore/go/go-petstore => ./go-petstore
go 1.13
require (
github.com/OpenAPITools/openapi-generator/samples/client/petstore/go/go-petstore v0.0.0-00010101000000-000000000000
github.com/stretchr/testify v1.8.1
golang.org/x/net v0.2.0 // indirect
golang.org/x/oauth2 v0.2.0
)