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
$ go list -m github.com/ogen-go/ogen github.com/ogen-go/ogen
I compiled it from tip of today's main:
$ git describe --always 78b0432b
Yes
$ ./ogen 'https://demo.thingsboard.io/v3/api-docs?group=thingsboard'
Schema: https://demo.thingsboard.io/swagger-ui/#/
Generated Go code.
First I get:
$ ./ogen 'https://demo.thingsboard.io/v3/api-docs?group=thingsboard' - api-docs:1:1418220 -> invalid name: "PageData«EntityVersion»" doesn't match "^[a-zA-Z0-9.\\-_]+$"
After commenting
if err := validateComponentsKeys(p, c); err != nil { return nil, err }
I get:
- api-docs:1:1085604 -> parse path "/api/2fa/account/config/generate{?providerType}": path MUST NOT contain a query string
case u.RawQuery != "": return nil, errors.New("path MUST NOT contain a query string")
- api-docs:1:1086888 -> parameter "?providerType" not specified
Is there something wrong with this spec https://demo.thingsboard.io/swagger-ui/#/?
The text was updated successfully, but these errors were encountered:
This schema was generated by https://github.com/springfox/springfox which uses the « character https://github.com/search?q=repo%3Aspringfox%2Fspringfox%20%C2%AB&type=code
«
Sorry, something went wrong.
/api/2fa/account/config/generate{?providerType} is definitely wrong path template, query paramters should be described in the parameters section.
/api/2fa/account/config/generate{?providerType}
parameters
@ardrabczyk Try validating your specification using https://github.com/daveshanley/vacuum before calling ogen.
No branches or pull requests
What version of ogen are you using?
I compiled it from tip of today's main:
Can this issue be reproduced with the latest version?
Yes
What did you do?
Schema: https://demo.thingsboard.io/swagger-ui/#/
What did you expect to see?
Generated Go code.
What did you see instead?
First I get:
After commenting
I get:
After commenting
I get:
Is there something wrong with this spec https://demo.thingsboard.io/swagger-ui/#/?
The text was updated successfully, but these errors were encountered: