GFlisch / Arc4u

Apache License 2.0
22 stars 17 forks source link

(Guidance2022.1.2.13): Wrong asp.net environment setting in interface.nswag #76

Closed vvdb-architecture closed 1 year ago

vvdb-architecture commented 1 year ago

When generating an interface, the interface.nswag file contains

      "aspNetCoreEnvironment": "Localhost",

It should be:

      "aspNetCoreEnvironment": "Development",

... just like in the facade.

GFlisch commented 1 year ago

I have done the test with your license and I don't have the same experience.

  "useDocumentProvider": true,
  "documentName": "interfaceSdk",
  "aspNetCoreEnvironment": "Development",
  "createWebHostBuilderMethod": null,
  "startupType": null,