Created
August 2, 2019 00:28
-
-
Save kaizhu256/107899e938f6f7e805dac1e31903f507 to your computer and use it in GitHub Desktop.
foo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"openapi" : "3.0.1", | |
"info" : { | |
"title" : "defaultTitle", | |
"description" : "defaultDescription", | |
"version" : "0.1" | |
}, | |
"servers" : [ { | |
"url" : "https://api.nasa.gov" | |
} ], | |
"paths" : { | |
"/planetary/apod" : { | |
"get" : { | |
"description" : "Auto generated using Swagger Inspector", | |
"parameters" : [ { | |
"name" : "api_key", | |
"in" : "query", | |
"schema" : { | |
"type" : "string" | |
}, | |
"example" : "V7kRKVpBKgRttUCxD51LmbFM7OlN13pX3fqiiJFd" | |
}, { | |
"name" : "api_key2", | |
"in" : "query", | |
"schema" : { | |
"type" : "string" | |
}, | |
"example" : "V7kRKVpBKgRttUCxD51LmbFM7OlN13pX3fqiiJFd" | |
} ], | |
"responses" : { | |
"200" : { | |
"description" : "Auto generated using Swagger Inspector", | |
"content" : { | |
"application/json" : { | |
"schema" : { | |
"type" : "object", | |
"properties" : { | |
"date" : { | |
"type" : "string" | |
}, | |
"media_type" : { | |
"type" : "string" | |
}, | |
"hdurl" : { | |
"type" : "string" | |
}, | |
"service_version" : { | |
"type" : "string" | |
}, | |
"explanation" : { | |
"type" : "string" | |
}, | |
"title" : { | |
"type" : "string" | |
}, | |
"url" : { | |
"type" : "string" | |
} | |
} | |
}, | |
"examples" : { | |
"0" : { | |
"value" : "{\"date\":\"2019-04-29\",\"explanation\":\"Massive stars, abrasive winds, mountains of dust, and energetic light sculpt one of the largest and most picturesque regions of star formation in the Local Group of Galaxies. Known as N11, the region is visible on the upper right of many images of its home galaxy, the Milky Way neighbor known as the Large Magellanic Clouds (LMC). The featured image was taken for scientific purposes by the Hubble Space Telescope and reprocessed for artistry by an amateur to win a Hubble's Hidden Treasures competition. Although the section imaged above is known as NGC 1763, the entire N11 emission nebula is second in LMC size only to the Tarantula Nebula. Compact globules of dark dust housing emerging young stars are also visible around the image. A new study of variable stars in the LMC with Hubble has helped to recalibrate the distance scale of the observable universe, but resulted in a slightly different scale than found using the pervasive cosmic microwave background. Astrophysicists: Browse 1,900+ codes in the Astrophysics Source Code Library\",\"hdurl\":\"https://apod.nasa.gov/apod/image/1904/N11_Hubble_1989.jpg\",\"media_type\":\"image\",\"service_version\":\"v1\",\"title\":\"N11: Star Clouds of the LMC\",\"url\":\"https://apod.nasa.gov/apod/image/1904/N11_Hubble_960.jpg\"}\n" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"servers" : [ { | |
"url" : "https://api.nasa.gov" | |
} ] | |
}, | |
"servers" : [ { | |
"url" : "https://api.nasa.gov" | |
} ] | |
} | |
}, | |
"components" : { | |
"securitySchemes" : { | |
"oauth2" : { | |
"type" : "oauth2", | |
"flows" : { | |
"implicit" : { | |
"authorizationUrl" : "http://yourauthurl.com", | |
"scopes" : { | |
"scope_name" : "Enter your scopes here" | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment