RicoSuter / SigSpec

Specification and code generator for SignalR Core.
MIT License
159 stars 37 forks source link

Bug in generated spec .json #37

Open baranna opened 4 years ago

baranna commented 4 years ago

Title

In SigSpec.AspNetCore the generated spec.json file always adds new type definitions if you keep refreshing the page

Steps to reproduce

  1. Start HelloSignalR sample project
  2. Go to /sigpsec/v1/sigspec.json
  3. Refresh the page (one or more times)

Current behaviour

New definitions are generated at each refresh (Person, Person2, Person3....)

Expected behaviour

The spec doesn't change at refresh

Screenshot

image

RicoSuter commented 4 years ago

I think this is fixed but not released yet.