We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
It depends on the version of the codegen that you use (which depends on the version of specification you use). You can take a look at https://github.com/swagger-api/swagger-codegen#modifying-the-client-library-formatand the following header to learn how to customize the codegen. There *are* html/js templates, but they may not suit your needs. However, you can take a look at them and use them as a baseline.
Very valid question.
Generally speaking, you can use code generators like Swagger Codegen to automate the process of creating boilerplate code. Note that the existing templates may not address your needs out of the box. However, since the templates are highly customizable, you can simply modify them to your own needs and keep using them.
Well thanks for letting me know I'm not totally misunderstanding 🙂
I use Codegen to generate the Flask backend but could not find/understand how to use it to also generate a "boilerplate" of an HTML/JS frontend ... is this possible? Can you suggest some further reading/ideas?
Take care
It depends on the version of the codegen that you use (which depends on the version of specification you use). You can take a look at https://github.com/swagger-api/swagger-codegen#modifying-the-client-library-formatand the following header to learn how to customize the codegen. There *are* html/js templates, but they may not suit your needs. However, you can take a look at them and use them as a baseline.
Thanks a lot! Will study 🙂
Even in my beginner's understanding I see how Smartbear's products and architecture caters for robust API design and implementation but also feel that if I'm not also facilitating the front-end developers the idea of API First philosophy might be weakened.