forked from loafle/openapi-generator-original
update test case, add beta to go help
This commit is contained in:
parent
25b60a194b
commit
20e531d6dd
@ -28,7 +28,7 @@ public class GoClientCodegen extends DefaultCodegen implements CodegenConfig {
|
||||
}
|
||||
|
||||
public String getHelp() {
|
||||
return "Generates a Go client library.";
|
||||
return "Generates a Go client library (beta).";
|
||||
}
|
||||
|
||||
public GoClientCodegen() {
|
||||
|
@ -22,7 +22,7 @@ func main() {
|
||||
s.UpdatePetWithForm("12830", "golang", "available")
|
||||
|
||||
// test GET
|
||||
resp, err := s.GetPetById(3)
|
||||
resp, err := s.GetPetById(12830)
|
||||
fmt.Println("GetPetById: ", resp, err)
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user