41fb17a31b
* WIP adding derive(ToSchema) * Derive ToSchema for more types * ContractBuildInformation on /nym_contracts_detailed * rustfmt * Add cfg_attr * A bunch of annotations * Compiles with utoipa 5.2 * WIP * Post rebase fixes * Gitattributes to ignore .sqlx diffs * generate Sqlx schema files * Improvements * Move ecash schema out of ecash crate * Move redocly config to nym-api/ * Move redocly config to nym-api/ * Remove ErrorResponse * Move generated openapi spec to .gitignore * Include BSL licence * Remove utoipa from ecash toml file * Remove placeholder annotations * Chain-watcher rebase changes * Update licence info * Treat Scalar as String in OpenAPI
6 lines
180 B
Bash
Executable File
6 lines
180 B
Bash
Executable File
#!/bin/bash
|
|
|
|
curl -s http://localhost:8000/api-docs/openapi.json | jq . > formatted-openapi.json
|
|
npx @redocly/cli@latest lint --config .redocly.yaml \
|
|
# --generate-ignore-file
|