2022-06-22 18:32:18 +00:00
|
|
|
{{- $context := .context }}
|
|
|
|
{{- $src := .src }}
|
|
|
|
{{- with $context }}
|
|
|
|
{{- with .Page.Resources.Match $src }}
|
|
|
|
{{- range . }}
|
|
|
|
{{- $src = .RelPermalink }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
<style>
|
|
|
|
rapi-doc::part(section-endpoint-head-method) {
|
|
|
|
font-size: 11px;
|
|
|
|
}
|
2022-10-06 12:34:11 +00:00
|
|
|
rapi-doc::part(btn) {
|
|
|
|
width: unset !important;
|
|
|
|
}
|
2022-06-22 18:32:18 +00:00
|
|
|
</style>
|
|
|
|
<rapi-doc
|
|
|
|
allow-spec-file-download="true"
|
|
|
|
default-schema-tab="example"
|
|
|
|
font-size="largest"
|
|
|
|
layout="column"
|
|
|
|
load-fonts="false"
|
|
|
|
render-style="view"
|
|
|
|
schema-description-expanded="true"
|
|
|
|
schema-style="table"
|
|
|
|
show-header="false"
|
|
|
|
spec-url="{{ $src }}"
|
|
|
|
sort-tags="true"
|
|
|
|
></rapi-doc>
|
2022-07-11 21:52:59 +00:00
|
|
|
{{- .Page.Store.Set "hasSwagger" true }}
|
2022-06-22 18:32:18 +00:00
|
|
|
{{- end }}
|