© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
1 reply
alpacasierra

Resolving External Components with Nested Components in NSwag for OpenAPI specs

I am using NSwag to generate a C# client from an OpenAPI spec

I want this spec to reference an external component schema which has nested references in its own file, but I have not been able to resolve the nested components

The paths are correct, and when I simplify the ref to not have nested references that does work

Please help thank you
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Resolving External $ref Paths With Nested Refs in NSwag for OpenAPI Specification in C#
C#CC# / help
2y ago
nswag (OpenApi) typescript get error type
C#CC# / help
13mo ago
nswag openapi add a global return type for a specific response code
C#CC# / help
13mo ago
❔ NSwag Client generation
C#CC# / help
3y ago