Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding project as a reference - failed to parse JSON/YAML response #200

Open
ravisolanki07 opened this issue Feb 24, 2020 · 0 comments
Open

Comments

@ravisolanki07
Copy link

ravisolanki07 commented Feb 24, 2020

I implemented all the logic as per the guidelines using the SwaggerWCF nuget package and works great!

So I just tried to add reference of the project (removed nuget first) because I want to add some custom code in the project to support my logic.

The reason why we need that is one part of the URL is coming from the web.config:
image

And we are using a single common class using partial to define all the interface contracts. But, for each contract, the Address is different as defined in the web.config.

Unfortunately, the same logic which works for nuget is no more working after adding a project as a reference, even though I am the same source code without any changes. It gives error: "Failed to parse JSON/YAML response".

Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant