Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/productdock/build-apis-made-easy
Building APIs Made Easy: From Specification to Code Generation and Testing blog post
https://github.com/productdock/build-apis-made-easy
golang openapi3 postman spring-boot typespec
Last synced: 6 days ago
JSON representation
Building APIs Made Easy: From Specification to Code Generation and Testing blog post
- Host: GitHub
- URL: https://github.com/productdock/build-apis-made-easy
- Owner: ProductDock
- Created: 2024-06-14T11:12:07.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-08-06T12:17:36.000Z (6 months ago)
- Last Synced: 2024-08-06T14:12:40.728Z (6 months ago)
- Topics: golang, openapi3, postman, spring-boot, typespec
- Language: Java
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Building apis made easy
## Prerequisites
- Typespec: `npm install -g @typespec/compiler`
- oapi-codegen: `go install github.com/deepmap/oapi-codegen/v2/cmd/oapi-codegen@latest`
- Postman## Run examples
After cloning this repository, check Makefile first.
Choose server example:
- Run golang api (port 8084): `make run-go`
- Run spring boot api (port 8084): `make run-jvm`
Import `events-postman-collection.json` to postman to test the API.