Skip to content

Add functions to response models for schema-extraction #2191

@rd-andreas-tollkoetter

Description

@rd-andreas-tollkoetter

At the moment, a generated response might contain a field named JSON200 for the JSON response body of a 200 response, for example. It would be nice if there was also a simple getter function like GetJSON200(). I would like to create an interface which allows a standard handling of all responses and Go does not allow interfaces to have fields, only methods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExternal contributions would be very much appreciated!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions