swagger-api / swagger-api/swagger-codegen

[ASP.NET] The default XML namespace of the project must be the MSBuild XML namespace.

Open
#10,110 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Description

I'm using swagger-hub which I assume uses the latest version of swagger-codegen. When creating an ASP.NET generator it doesn't work out of the box and throw a configuration error.

Swagger-codegen version

?? Latest or whatever The default XML namespace of the project must be the MSBuild XML namespace.

Swagger declaration file content or url

https://app.swaggerhub.com/apis/BusbyActual/Reporting/1.0.0#/

Command line used for generation

CodeGenerator -> Server -> aspnetcore

Steps to reproduce

Click export on swaggerhub and select said options

Related issues/PRs

???

Suggest a fix/enhancement

Add default environment settings for ASP.net so visual studio can import and edit the project?
(Visual Studio 2015)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the SwaggerHub export with the aspnetcore generator and inspect the generated project in Visual Studio 2015. Compare its project XML with the MSBuild XML namespace requirement; done means the exported ASP.NET project opens and can be edited without the configuration error.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.