Skip to content

SwaggerDefaultValues doesn't set the default value for boolean properties correctly #717

@icnocop

Description

@icnocop

Hi.

.\samples\aspnetcore\SwaggerODataSample\SwaggerDefaultValues.cs assumes properties are strings and this causes some issues.

For example:

  1. Run the samples\aspnetcore\SwaggerODataSample project
  2. Select definition V3
  3. Expand GET ​/api​/Acme​/Products
  4. Click Try it out
  5. Click Execute
  6. Notice the $count parameter is required to be manually set to true or false.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions