Download tools/resttestgen/src/test/resources/specifications/responseRef.json from minhhungg/AutoRestTest-TrackA: direct link, hf CLI and curl.
- Browser
- Download file 792 Bytes
-
https://huggingface.co/datasets/minhhungg/AutoRestTest-TrackA/resolve/main/tools/resttestgen/src/test/resources/specifications/responseRef.json
- Command line
-
hf download hf://datasets/minhhungg/AutoRestTest-TrackA/tools/resttestgen/src/test/resources/specifications/responseRef.json
-
curl -L -o responseRef.json https://huggingface.co/datasets/minhhungg/AutoRestTest-TrackA/resolve/main/tools/resttestgen/src/test/resources/specifications/responseRef.json
792 Bytes
| { | |
| "openapi": "3.0.0", | |
| "servers": [ | |
| { | |
| "url": "http://localhost" | |
| } | |
| ], | |
| "paths": { | |
| "/": { | |
| "get": { | |
| "operationId": "getRoot" | |
| } | |
| } | |
| }, | |
| "components": { | |
| "schemas": { | |
| "MyBaseSchema": { | |
| "properties": { | |
| "name": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "MyRefSchema": { | |
| "properties": { | |
| "baseSchemas": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/MyBaseSchema" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "responses": { | |
| "Refponse": { | |
| "content": { | |
| "*/*": { | |
| "schema": { | |
| "$ref": "#/components/schemas/MyRefSchema" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } |