{
  "version": 3,
  "sources": ["../../../../src/schemas/3.1/unprocessed/responses-object.ts"],
  "sourcesContent": ["import { z } from 'zod'\nimport { ReferenceObjectSchema } from './reference-object'\nimport { ResponseObjectSchema } from './response-object'\n\n/**\n * Responses Object\n *\n * A container for the expected responses of an operation. The container maps a HTTP response code to the expected\n * response.\n *\n * The documentation is not necessarily expected to cover all possible HTTP response codes because they may not be known\n *  in advance. However, documentation is expected to cover a successful operation response and any known errors.\n * The default MAY be used as a default Response Object for all HTTP codes that are not covered individually by the\n * Responses Object.\n *\n * The Responses Object MUST contain at least one response code, and if only one response code is provided it SHOULD be\n * the response for a successful operation call.\n *\n * @see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#responses-object\n */\nexport const ResponsesObjectSchema = z.record(\n  /**\n   * Response Object | Reference Object\tAny HTTP status code can be used as the property name, but only one property per\n   *  code, to describe the expected response for that HTTP status code. This field MUST be enclosed in quotation marks\n   * (for example, \"200\") for compatibility between JSON and YAML. To define a range of response codes, this field MAY\n   * contain the uppercase wildcard character X. For example, 2XX represents all response codes between 200 and 299.\n   * Only the following range definitions are allowed: 1XX, 2XX, 3XX, 4XX, and 5XX. If a response is defined using an\n   * explicit code, the explicit code definition takes precedence over the range definition for that code.\n   */\n  z.string(),\n  z.union([ReferenceObjectSchema, ResponseObjectSchema]),\n)\n"],
  "mappings": "AAAA,SAAS,SAAS;AAClB,SAAS,6BAA6B;AACtC,SAAS,4BAA4B;AAkB9B,MAAM,wBAAwB,EAAE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASrC,EAAE,OAAO;AAAA,EACT,EAAE,MAAM,CAAC,uBAAuB,oBAAoB,CAAC;AACvD;",
  "names": []
}
