Skip to content

Additional client Preconditions #5

@sbrossie

Description

@sbrossie

Prior client code generation, we could hardcode a bunch of preconditions to avoid making illegal calls to server. With auto-generated code, the Preconditions are generated based on required swagger annotation.

The main issue is for body type that we pass. The precondition will limit itself to checking for non null body

It would be very handy to specify which properties from the body are required -- obviously this would have to be specified in the swagger schema and the generator would have to be modified to take this into account.

Metadata

Metadata

Assignees

No one assigned

    Labels

    JAVAJava client generatorenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions