wcandillon / swagger-js-codegen

A Swagger Codegen for typescript, nodejs & angularjs
Apache License 2.0
693 stars 286 forks source link

method summary & externalDocs #122

Closed nalbion closed 8 years ago

nalbion commented 8 years ago

These changes allow the method summary to be provided by the schema's description or summary fields. I have also added support for method.externalDocs, as they are provided in our schemas.

wcandillon commented 8 years ago

@nalbion Looks good. Can you provide me an example on how to use this option?

nalbion commented 8 years ago

I've added an example to test.json

Some other external docs: :wink: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#operation-object https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#externalDocumentationObject

wcandillon commented 8 years ago

@nalbion thks!