{"id":19099074,"url":"https://github.com/swagger-api/swagger-petstore","last_synced_at":"2025-04-13T10:45:40.342Z","repository":{"id":38414931,"uuid":"206982975","full_name":"swagger-api/swagger-petstore","owner":"swagger-api","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-24T09:12:47.000Z","size":4992,"stargazers_count":252,"open_issues_count":61,"forks_count":359,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-10-25T06:28:40.289Z","etag":null,"topics":["open-source","openapi","openapi3","petstore","swagger","swagger-oss"],"latest_commit_sha":null,"homepage":"http://petstore.swagger.io","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/swagger-api.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-07T14:54:31.000Z","updated_at":"2024-10-23T01:59:38.000Z","dependencies_parsed_at":"2022-07-11T19:50:02.813Z","dependency_job_id":"66099813-c87b-4620-a5b0-309196b00f82","html_url":"https://github.com/swagger-api/swagger-petstore","commit_stats":null,"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swagger-api%2Fswagger-petstore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swagger-api%2Fswagger-petstore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swagger-api%2Fswagger-petstore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swagger-api%2Fswagger-petstore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swagger-api","download_url":"https://codeload.github.com/swagger-api/swagger-petstore/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248702341,"owners_count":21148115,"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":["open-source","openapi","openapi3","petstore","swagger","swagger-oss"],"created_at":"2024-11-09T03:48:26.072Z","updated_at":"2025-04-13T10:45:40.307Z","avatar_url":"https://github.com/swagger-api.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Swagger Petstore Sample\n\n## Overview\nThis is the pet store sample hosted at https://petstore3.swagger.io. For other versions, check the branches.\nWe welcome suggestion both the code and the API design.\nTo make changes to the design itself, take a look at https://github.com/swagger-api/swagger-petstore/blob/master/src/main/resources/openapi.yaml.\n\nThis is a java project to build a stand-alone server which implements the OpenAPI 3 Spec.  You can find out\nmore about both the spec and the framework at http://swagger.io.\n\nThis sample is based on [swagger-inflector](https://github.com/swagger-api/swagger-inflector), and provides an example of swagger / OpenAPI 3 petstore.\n\n### To run (with Maven)\nTo run the server, run this task:\n\n```\nmvn package jetty:run\n```\n\nThis will start Jetty embedded on port 8080.\n\n### To run (via Docker)\n\nExpose port 8080 from the image and access petstore via the exposed port. You can then add and delete pets as you see fit.\n\n\n*Example*:\n\n```\ndocker build -t swaggerapi/petstore3:unstable .\n```\n\n```\ndocker pull swaggerapi/petstore3:unstable\ndocker run  --name swaggerapi-petstore3 -d -p 8080:8080 swaggerapi/petstore3:unstable\n```\n\n\n### Testing the server\nOnce started, you can navigate to http://localhost:8080/api/v3/openapi.json to view the Swagger Resource Listing.\nThis tells you that the server is up and ready to demonstrate Swagger.\n\n### Using the UI\nThere is an HTML5-based API tool bundled in this sample--you can view it it at [http://localhost:8080](http://localhost:8080). This lets you inspect the API using an interactive UI.  You can access the source of this code from [here](https://github.com/swagger-api/swagger-ui)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswagger-api%2Fswagger-petstore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswagger-api%2Fswagger-petstore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswagger-api%2Fswagger-petstore/lists"}