We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
@server( group: user prefix: user jwt: JwtAuth middleware: Authorization, Casbin ) service manage { @doc "user list" @handler List post /list (UserListRequest) returns (UserListResponse) @doc "create user" @handler Create post / (CreateUserRequest) returns (CreateUserResponse) }
goctl api go -api *.api -dir ../ --style=goZero
syntax error: expected ':' | 'IDENT' | 'INT', got '('
The location of the problem is
post / (CreateUserRequest) returns (CreateUserResponse)
Expected behavior
post / The goctl API seems to force me to write an address, hoping that previous versions do not force me to write an address
Screenshots
Environments (please complete the following information):
The text was updated successfully, but these errors were encountered:
This issue has been fixed in #3834
Sorry, something went wrong.
No branches or pull requests
Describe the bug
goctl api go -api *.api -dir ../ --style=goZero
The location of the problem is
Expected behavior
Screenshots
![image](https://private-user-images.githubusercontent.com/11722888/296539435-988fc0bf-e9d4-48f1-a0ed-74b202a08e44.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NjA3NjUsIm5iZiI6MTczOTU2MDQ2NSwicGF0aCI6Ii8xMTcyMjg4OC8yOTY1Mzk0MzUtOTg4ZmMwYmYtZTlkNC00OGYxLWEwZWQtNzRiMjAyYTA4ZTQ0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDE5MTQyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI0YzQwZDU5ZjY2YmQ4MGUyODgwODI4NjU5OWUyMDMyNWUxYjJjZTVmZjk0ODdmMDNmYTg1ZWFhN2Y3NWVmY2UmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Ie5sMXnFdZfKOCTsq4mFO1Fi05hY38Twfs1tKPjU1aw)
Environments (please complete the following information):
The text was updated successfully, but these errors were encountered: