|
|
||
|---|---|---|
| .github | fix: force push | |
| .vscode | feat: typespec compilation task for vscode | |
| build | chore(bot): update openapi3 schema | |
| polyproto | fix: Ed25519 signatures require 128 hex chars | |
| .gitattributes | override linguist-language | |
| .gitignore | feat: tsp update to 1.0.0, oapi update to 3.1 | |
| LICENSE | Update LICENSE | |
| package-lock.json | chore: update typespec to v1.1.0 | |
| README.md | feat: add faq shield | |
a purple cog, split in the middle along the horizontal axis with a gap inbetween the two halves. three overlayed, offset sinus-like waves travel through that gap. each wave has a different shade of purple
typespec-openapi
Code-of-conduct-shield Build/Deploy OpenAPI specification Discord FAQ-shield
Specification documents and API documentation for polyproto, polyproto-chat and polyproto-mls.
API documentation built with TypeSpec.
Pre-compiled OpenAPI schema(s)
Find the pre-compiled OpenAPI v3.1 schema file(s) in the /build directory. The schema is automatically built and deployed to the main branch on every push to the main branch.
Contributing
The best way to contribute is to open an issue if you find any problems with the documentation. Creating an issue is generally the best way to contribute to any open source project. Issues allow for an exchange between contributors and maintainers to discuss the viability of implementing an issue, usually minimizing frustration.
You should also read our Code of Conduct and Contributing Guidelines before contributing.
Setting up a development environment
You will need the following things installed on your computer:
Node.js >= 20npm. I personally preferpnpm, but have found it to not work with TypeSpec. Maybe this is a me-issue, but I recommendnpmfor best compatibility nonetheless.gitTypeSpec- install it globally withnpm install -g @typespec/compiler
- Navigate to the
/polyprotodirectory. - Select the project you want to compile. In this example, we are compiling the
coreproject. Navigate to that directory. - Run
tsp installto install the dependencies. - Run
tsp compile .to compile the project ortsp compile --watch .to automatically recompile the project when you save a file. - The compiled OpenAPI3 schema will be in the
$PROJECT/tsp-output/@typespec/openapi3directory.