Skip to content

Modifying required Path variables #136

@jgarciadelanoceda

Description

@jgarciadelanoceda

Hello,

I have just added MicroElements.Swashbuckle.FluentValidation to our project and I show that before adding it there was a property marked as:
{ "name": "Id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }

And with the addition of the package there is now the same property marked as:
{ "name": "Id", "in": "path", "schema": { "minimum": 0, "exclusiveMinimum": true, "type": "integer", "format": "int32" } }

Before adding the package the Swagger page required to fill the Id value and right now it does not

I think that the expected behavior would be this one:
{ "name": "Id", "in": "path", "required": true, "schema": { "minimum": 0, "exclusiveMinimum": true, "type": "integer", "format": "int32" } }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions