[v6] Error generating from latest schema registry swagger: duplicate object schemas
See original GitHub issueI’m trying to update schema-registry generated code for TypeScript
Given this configuration:
description: Generated Schema Registry Client
generate-metadata: false
add-credentials: false
license-header: MICROSOFT_MIT_NO_VERSION
output-folder: ../
source-code-folder-path: ./src/generated
input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/1e23d91e875e4464e57667639e06408cef99868d/specification/schemaregistry/data-plane/Microsoft.EventHub/preview/2020-09-01-preview/schemaregistry.json
use-extension:
"@autorest/typescript": "6.0.0-dev.20200918.1"
I get:
ERROR (): Duplicate object schemas with 'SerializationType' name detected.
FATAL: Error: 1 errors occured -- cannot continue.
Error: Plugin checker reported failure.
I am not sure if this is an issue with the swagger authoring (cc @arerlend) or with the generator (cc @joheredi).
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
swagger error: Conflicting schemaIds - Stack Overflow
This error resulted when I tried to show Swagger UI. ... SchemaGeneratorOptions = new SchemaGeneratorOptions {SchemaIdSelector = type ...
Read more >Schema Registry API Reference | Confluent Documentation
The Schema Registry server can enforce certain compatibility rules when new schemas are registered in a subject. These are the compatibility types:.
Read more >Confluent Schema Registry - Hackolade
The Confluent Schema Registry is a central repository with a RESTful interface for developers to define standard schemas and register applications to enable ......
Read more >apispec - Read the Docs
First, create an APISpec object, passing basic information about your ... schema and parameter objects from marshmallow schemas and fields.
Read more >Ajv: Another JSON Schema Validator - GitLab
to make code injection from untrusted schemas impossible, code generation is fully re-written to be safe. to simplify Ajv extensions, the new keyword...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@sarangan12 I’ve reopened the issue you mentioned so it can be investigated. It was improperly tested in the issue. You can keep this issue closed.
@nguerrera As discussed in the above conversations, the issue is happening with modelerfour and it would be best answered if you follow it up with the issue https://github.com/Azure/autorest/issues/3629.
If you still face any issue after the modeler issue is fixed, feel free to reopen the issue.
No more pending action items for this issue. Closing it now.