<p>I need to get a list of endpoints, that are currently available on nginx plus. Live or list view before running nginx. However I couldn't find any solution.
Is it even possible and if so, with some tool, that can be implemented in k8s, helm.. so its automated?</p>
<p>The endpoint would be of course admin access only.</p>
<p>Example:</p>
<pre><code>location = /nginx {

  limit_except OPTIONS GET {
    deny all;
  }
}
</code></pre>
<p><a href="https://i.sstatic.net/ss93r.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ss93r.png" alt="enter image description here" /></a></p>

CC BY-SA 4.0
2023-06-06T09:04:25.247Z
[This](https://demo.nginx.com/swagger-ui/nginx_api.yaml) looks like the swagger configuration you are looking for.
ponsfrilus
CC BY-SA 4.0
2023-06-07T10:21:09.383Z
@ponsfrilus Well not precisely. This is openApi for REST Api already built in nginx. I'm looking for generating openApi from my own nginx.conf file.
JaeVi
<kubernetes><nginx>
How to generate swagger documentation from nginx conf file?
JaeVi
# How to generate swagger documentation from nginx conf file?

(Asked by: username_0 on 2023-05-15)

I need to get a list of endpoints, that are currently available on nginx plus. Live or list view before running nginx. However I couldn't find any solution.
Is it even possible and if so, with some tool, that can be implemented in k8s, helm.. so its automated?
The endpoint would be of course admin access only.
Example:
location = /nginx {

  limit_except OPTIONS GET {
    deny all;
  }
}

**Tags:** kubernetes, nginx

> **Comments:**
> **username_1**: [This](https://demo.nginx.com/swagger-ui/nginx_api.yaml) looks like the swagger configuration you are looking for.  
> **username_0**: @username_1 Well not precisely. This is openApi for REST Api already built in nginx. I'm looking for generating openApi from my own nginx.conf file.  

---

## 0 answers

