{"id":20751177,"url":"https://github.com/openapitools/openapi-petstore","last_synced_at":"2025-04-28T13:08:47.779Z","repository":{"id":48491560,"uuid":"136197966","full_name":"OpenAPITools/openapi-petstore","owner":"OpenAPITools","description":"The pet store sample","archived":false,"fork":false,"pushed_at":"2023-10-01T07:54:01.000Z","size":48,"stargazers_count":50,"open_issues_count":7,"forks_count":43,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-28T13:08:41.809Z","etag":null,"topics":["openapi","openapi-codegen","openapi3","petstore"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenAPITools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-06-05T15:27:38.000Z","updated_at":"2025-03-25T08:04:33.000Z","dependencies_parsed_at":"2023-01-20T09:35:48.264Z","dependency_job_id":"0faebb30-ae84-40db-a3c8-18138facae04","html_url":"https://github.com/OpenAPITools/openapi-petstore","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenAPITools%2Fopenapi-petstore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenAPITools%2Fopenapi-petstore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenAPITools%2Fopenapi-petstore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenAPITools%2Fopenapi-petstore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenAPITools","download_url":"https://codeload.github.com/OpenAPITools/openapi-petstore/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251319607,"owners_count":21570427,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["openapi","openapi-codegen","openapi3","petstore"],"created_at":"2024-11-17T08:31:30.395Z","updated_at":"2025-04-28T13:08:47.588Z","avatar_url":"https://github.com/OpenAPITools.png","language":"Java","readme":"# OpenAPI petstore\n\nThis is an implementation of the OpenAPI pet store based on Spring-Boot.\n\n## Overview\n\nStart your server as a simple Spring-Boot application\n```\nmvn spring-boot:run\n```\nOr package it then run it as a Java application\n```\nmvn package\njava -jar target/openapi-petstore-{VERSION}.jar\n```\n\nYou can view the api documentation in swagger-ui by pointing to  \nhttp://localhost:8080/\n\n## Docker\n\nTo start the server via docker, please run the following commands:\n```sh\ndocker pull openapitools/openapi-petstore\ndocker run -d -e OPENAPI_BASE_PATH=/v3 -p 80:8080 openapitools/openapi-petstore\n```\n\nRef: https://hub.docker.com/r/openapitools/openapi-petstore/\n\n## Security\n\n### API key\nUse `special-key` for endpoints protected by the API key\n\n### OAuth2\nBy default the server supports the implicit and the password flow (even though only the implicit flow is described in the OAI spec)\nThe default credentials are:\n* client-id: sample-client-id\n* client-secret: secret\n* username: user\n* password: user\n\n## Configuration\n\nSpring parameters in application.properties:\n* Server port : `server.port` (default=8080)\n* API base path : `openapi.openAPIPetstore.base-path` (default=/v3). In the docker image the base path can also be set with the `OPENAPI_BASE_PATH` environment variable.\n\nEnvironment variables:\n* `DISABLE_API_KEY` : if set to \"1\", the server will not check the api key for the relevant endpoints.\n* `DISABLE_OAUTH` : if set to \"1\", the server will not check for an OAuth2 access token.\n\n## License\n\n[Apache 2.0 License](http://www.apache.org/licenses/LICENSE-2.0)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenapitools%2Fopenapi-petstore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenapitools%2Fopenapi-petstore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenapitools%2Fopenapi-petstore/lists"}