Swagger code gen integration to Asp.net MVC application
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Swagger code gen integration to Asp.net MVC application
Hi Team,
I have requirement of client code generation using swagger by passing the Json file as an input.
My application is a web base application built using Asp.net MVC, we are rendering the API's using Json spec file.
Now I want some feature like, when I choose language from drop down button on the page, I need to generate the client stubs for that particular language
(please refer the attachment).
is there a API that I can make a call by passing the Json file as input ?
any helps will be much appreciated.
Thanks
Maktum
- Labels:
-
Swagger Codegen
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, there is an API for generating code where you can provide the OpenAPI (JSON or YAML) as input, along with configuration options.
For OpenAPI 3.0: https://generator3.swagger.io/
For OpenAPI/Swagger 2.0: https://generator.swagger.io/
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I need the Api end point details so that I can call the Api from my code directly.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The links above point to SwaggerUI instances with those API details...
Or the direct link to the OpenAPI definition https://generator3.swagger.io/openapi.json
