Skip to content

v0.1.3

Choose a tag to compare

@dikhan dikhan released this 07 Aug 19:55
· 2176 commits to master since this release

Summary of changes

  • Binary size reduced by using -ldflags="-s -w"
  • Added support for multiple parameters in POST operations. This will enable tf resources to also specify other type of parameters in the POST operation, before there was a constrain to only have one parameter of type body.
    • Only one body type parameter is allowed

Example of valid configuration:

  /v1/cdns:
    post:
      tags:
      - "cdn"
      summary: "Create cdn"
      operationId: "ContentDeliveryNetworkCreateV1"
      parameters:
      - in: "body"
        name: "body"
        description: "Created CDN"
        required: true
        schema:
          $ref: "#/definitions/ContentDeliveryNetwork"
      - in: "header"
        name: "X-Request-ID"
        type: "string"
        required: true

Changelog

41fd553 delete binary
143157d increase version number
7333e5a reduce size of binary
e7f90a4 add support for multiple parameters in the post operation
f7b8fd5 allow for swagger files to be loaded from disk