stubs

Validate a stub payload without persisting

Changed on

Validates one or more stubs and returns them normalized without adding to storage

post/stubs/validate

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/stubs/validate
  • Auth
    none required

Request body

Stub[] required(unresolved $ref)

A list of stubs.

OR
Stub required(unresolved $ref)

Response

Successful operation

Stub[] required(unresolved $ref)

A list of stubs.

Changes

    • breaking

      added subschema #1 subschema #2 to the ///// request property allOf list

    • breaking

      added subschema #1 subschema #2 to the //// request property allOf list

    • breaking

      the ////// request property type changed from array to no type

    • breaking

      the ///// request property type changed from array to no type

    • breaking

      the ////// response's property type changed from array to no type for status

    • info

      added the new optional request property //////

    • info

      added the new optional request property /////

    • info

      added the optional property ////// to the response with the status

    • info

      added subschema #1 subschema #2 to the ///// response property allOf list for the response status

    • info

      added the non-success response with the status

    • info

      added the optional property ///// to the response with the status