Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "info": {
- "contact": {
- "email": "roman@1000mercis.com"
- },
- "description": "BLABLA",
- "title": "PLOP",
- "version": "42"
- },
- "paths": {
- "/example/{id}": {
- "get": {
- "operationId": "get_example",
- "parameters": [
- {
- "in": "path",
- "name": "id",
- "required": true,
- "type": "ObjectId"
- }
- ],
- "responses": {
- "405": {
- "description": "plop"
- }
- },
- "tags": [
- "example"
- ]
- },
- "patch": {
- "operationId": "patch_example",
- "parameters": [
- {
- "in": "path",
- "name": "id",
- "required": true,
- "type": "ObjectId"
- }
- ],
- "responses": {
- "405": {
- "description": "plop"
- }
- },
- "tags": [
- "example"
- ]
- },
- "put": {
- "operationId": "put_example",
- "parameters": [
- {
- "in": "path",
- "name": "id",
- "required": true,
- "type": "ObjectId"
- }
- ],
- "responses": {
- "405": {
- "description": "plop"
- }
- },
- "tags": [
- "example"
- ]
- }
- },
- "/examples": {
- "post": {
- "operationId": "post_examples",
- "parameters": [],
- "responses": {
- "405": {
- "description": "plop"
- }
- },
- "tags": [
- "example"
- ]
- }
- },
- "/examples/{id}/plop/{tata}": {
- "get": {
- "operationId": "get_examples",
- "parameters": [
- {
- "in": "path",
- "name": "id",
- "required": true,
- "type": "ObjectId"
- },
- {
- "in": "path",
- "name": "tata",
- "required": true,
- "type": "int"
- }
- ],
- "responses": {
- "405": {
- "description": "plop"
- }
- },
- "tags": [
- "example"
- ]
- }
- }
- },
- "swagger": "2.0",
- "tags": [
- {
- "name": "example"
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement