Skip to content

Instantly share code, notes, and snippets.

{
"openapi":"3.0.2",
"info":{
"title":"Swagger Petstore - OpenAPI 3.0",
"description":"This is a sample Pet Store Server based on the OpenAPI 3.0 specification. You can find out more about\nSwagger at [http://swagger.io](http://swagger.io). In the third iteration of the pet store, we've switched to the design first approach!\nYou can now help us improve the API whether it's by making changes to the definition itself or to the code.\nThat way, with time, we can improve the API in general, and expose some of the new features in OAS3.\n\nSome useful links:\n- [The Pet Store repository](https://github.com/swagger-api/swagger-petstore)\n- [The source API definition for the Pet Store](https://github.com/swagger-api/swagger-petstore/blob/master/src/main/resources/openapi.yaml)",
"termsOfService":"http://swagger.io/terms/",
"contact":{
"email":"apiteam@swagger.io"
},
"license":{
[
{
"openapi": "3.0.1",
"info": {
"title": "Animal Rescue v4",
"description": "Sample application for Spring Cloud Gateway commercial product demos.",
"version": "1.0.0-K8s"
},
"servers": [
{
@fombico
fombico / junit4-spring-runner.java
Last active April 22, 2019 15:19
[Spring] - JUnit4 Test Class - File and Code Templates > Code > JUnit4 Test Class
import org.junit.runner.RunWith;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
#parse("File Header.java")
public class ${NAME} {
${BODY}
}