third_party

package
v0.0.0-...-388d6c9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2023 License: MIT Imports: 1 Imported by: 0

README

third_party

This directory contains ("vendors") abbreviated copies of the following repositories:

The third_party/swagger-ui directory contains HTML, Javascript, and CSS assets that dynamically generate Swagger documentation from a Swagger-compliant API definition in api/http-spec file. That file is auto-generated by running make gen/proto in the root of this repository. The static assets are copied from this dist folder of the OpenAPI-UI project. After copying, swagger-initializer.js is edited to load the swagger file from the local server instead of the default petstore.

The steps above can be done automatically by using make gen/swagger-ui which is executing ./scripts/gen-swagger-ui.sh. The script will clone the swagger-api repo with specific version defined by $SWAGGER_UI_VERSION and cache it at ./.cache/swagger-ui/$SWAGGER_UI_VERSION so if the script is running twice using the same version it will use the cache right away.

See the respective LICENSE files for each project for the applicable license terms.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Embed embed.FS

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL