Closed bajiat closed 8 years ago
Wireframes Added
On hovering the SDK Generator button, tooltip should show the following message: "With a valid swagger file, you can download an SDK of your preferred language using this wizard." alternatively, this can be shown inside the dialogue with an info icon
@bajiat "if a valid Swagger file has been updated for an API" can you clarify that part of task.
1) Should we show "SDK generator" button ONLY if file was uploaded. 2) Or we need send uploaded file to "https://online.swagger.io/validator/debug?url=https://nightly2.apinf.io/gridfs/DocumentationFiles/...." and allow generate SDK only if file valid.
It looks like we need go with option #1, but add validation on upload swagger file, currently we just check extensions (.json, .yml, etc).
@bajiat The task is almost ready, I have some questions:
@bajiat
It seems like Generate Client is our current focus. We can look at Generate Server as a separate task.
@shaliko Option 1: if a Swagger file was uploaded
@marla-singer
The i18n token should take the form of:
{{_ "templateName_elementName" }}
See the en.i18n.js file for examples.
Integrate the SDK generator UI created in #1225 into the Documentation tab as a section of its own, thus allowing API consumers to download an SDK in the selected programming language, if a valid Swagger file has been updated for an API
Definition of done
Wireframe