Content Delivery API & SwaggerGen #14859
RyanHelmn
started this conversation in
Features and ideas
Replies: 1 comment 1 reply
-
I agree this would be specially useful. @RyanHelmn I've done an initial implementation in lauraneto/Umbraco.Headless.Blazor#1, that already supports complex types, and should generate fully complete models, so feel free to check it out. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It'd be great for a way to generate Swagger Schema for document types & properties to expose them to the front end, especially with TypeScript projects.
Having the ability to generate API Clients & map the types straight from Swagger can save a lot of headaches for integrating with the Content Delivery API.
I've gone ahead and put together a very, very basic workaround for a project I'm working on, this doesn't cover more complex properties however such as MNTP, Block Lists etc.
And an example of the output

Beta Was this translation helpful? Give feedback.
All reactions