InvalidOperationException: Can’t use schemaId .. The same schemaId is already used for type

Try this John: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/1607#issuecomment-607170559
helped me.

I can understand what is happening; i have several enums with ‘Status’ or ‘Type’.
Using
options.CustomSchemaIds( type => type.ToString() );
solved this.

Leave a Comment

techhipbettruvabetnorabahisbahis forumu