badge-urls
Version:
Helper functions to generate URLs for all badges / shields from shields.io
7 lines (6 loc) • 804 B
JavaScript
// This file was auto-generated. Do not modify it by hand and instead modify the scraper or code generator files.
import { urlWithOptions } from "../../options";
/** Label for Swagger Validator (/swagger/valid/3.0?specUrl=https%3A%2F%2Fraw.githubusercontent.com%2FOAI%2FOpenAPI-Specification%2Fmaster%2Fexamples%2Fv2.0%2Fjson%2Fpetstore-expanded.json) */
export const label = `Swagger Validator`;
/** URL for Swagger Validator (/swagger/valid/3.0?specUrl=https%3A%2F%2Fraw.githubusercontent.com%2FOAI%2FOpenAPI-Specification%2Fmaster%2Fexamples%2Fv2.0%2Fjson%2Fpetstore-expanded.json) */
export const url = (options) => urlWithOptions(`/swagger/valid/3.0?specUrl=https%3A%2F%2Fraw.githubusercontent.com%2FOAI%2FOpenAPI-Specification%2Fmaster%2Fexamples%2Fv2.0%2Fjson%2Fpetstore-expanded.json`, options);