All Downloads are FREE. Search and download functionalities are using the official Maven repository.

swagger.examples.stub-mappings.yaml Maven / Gradle / Ivy

There is a newer version: 3.0.1
Show newest version
meta:
  total: 2
mappings:
  - id: "76ada7b0-49ae-4229-91c4-396a36f18e09"
    uuid: "76ada7b0-49ae-4229-91c4-396a36f18e09"
    request:
      method: GET
      url: /search?q=things
      headers:
        Accept:
          equalTo: application/json
    response:
      status: 200
      jsonBody:
        - thing1
        - thing2
      headers:
        Content-Type: application/json
  - request:
      method: POST
      urlPath: /some/things
      bodyPatterns:
        - { equalToXml:  }
    response:
      status: 201




© 2015 - 2024 Weber Informatics LLC | Privacy Policy