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
Look like #4199 has been closed too early, I'm trying with the 1.13 preview version of kiota and the latest published dependencies. This spec:
1.13 preview
kiota
openapi: 3.0.3 info: title: Apicurio Registry API [v3] version: 3.0.x description: Apicurio Registry. license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0 paths: "/admin/rules": get: responses: '200': content: application/json: schema: "$ref": "#/components/schemas/RuleType" description: The list of names of the globally configured rules. description: 'List global rules' components: schemas: RuleType: description: '' enum: - VALIDITY - COMPATIBILITY - INTEGRITY type: string example: VALIDITY
produces code that doesn't compile:
export const RulesRequestBuilderRequestsMetadata: RequestsMetadata = { get: { uriTemplate: RulesRequestBuilderUriTemplate, responseBodyContentType: "application/json", adapterMethodName: "sendEnum", enumObject: RuleType, }, };
intuitively, the correct encoding should be enumObject: RuleTypeObject, but I haven't fully checked it.
enumObject: RuleTypeObject
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Look like #4199 has been closed too early, I'm trying with the
1.13 preview
version ofkiota
and the latest published dependencies.This spec:
produces code that doesn't compile:
intuitively, the correct encoding should be
enumObject: RuleTypeObject
, but I haven't fully checked it.The text was updated successfully, but these errors were encountered: