Open
Description
UPDATED
This ticket is now about extending schema.Reference
support in the schema/encoding/jsonschema
package when adding support for the OpenAPI Specification (a.k.a. the Swagger 2.0. specification).
More specifically, schema.Reference fields should be encoded as {"$ref": "#definitions/<unique resource path>/id"}
when encoding a schema for an OpenAPI Specification resource.
This might require:
- The ability to "name" a schema when adding it to the Index.
- Changes the schema.Reference or grant access to the Index to the encoder.
- The ability to turn on/off a JSON Schema encoding "extension".
PS! This ticket is currently blocked on adding initial support for the OpenAPI Specification.