8000 Generating a model from an inline response schema · Issue #676 · go-swagger/go-swagger · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Generating a model from an inline response schema #676
Closed
@dnephin

Description

@dnephin

In the swagger spec I'm working with there are lots of inlined response schemas. I'd like to generate a model for them using swagger generate model .... As far as I understand it, currently you can only generate models for the schemas under definitions.

I'd like to add a feature to generate a model from these inline response schemas. The name of the model would be <operationId><response code>Response.

Do you think there is value in this, or is there some easier way to work with inline schemas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0