polarday-yapi-ts
v0.0.1
Published
yapi to typescript
Readme
��#� �O(u �p�o�l�a�r�d�a�y�-�y�a�p�i�-�t�s� �ubt�s�{|�W
�
�
�
����j�s�
�
�/�/� � �ub@b g�c�S
�
�/�/� �n�o�d�e� �i�n�d�e�x�.�j�s�
�
�
�
�/�/� �ubc�[�c�S
�
�/�/� �n�o�d�e� �i�n�d�e�x�.�j�s� �i�d�s� �3�2�1�5�0�
�
�
�
�c�o�n�s�t� �Y�a�p�i�T�o�T�s� �=� �r�e�q�u�i�r�e�(�'�@�p�o�s�t�a�r�/�p�o�l�a�r�d�a�y�-�y�a�p�i�-�t�s�'�)�;�
�
�/�/� �h�t�t�p�:�/�/�1�9�2�.�x�x�x�.�x�x�x�.�2�4�5�:�x�x�x�/�p�r�o�j�e�c�t�/�1�1�1�/�i�n�t�e�r�f�a�c�e�/�a�p�i�/�1�2�3�
�
�/�/� �y��vI�d� �=� �1�1�1� ��c�SI�d� �=� �1�2�3�
�
�
�
�c�o�n�s�t� �c�o�n�f�i�g� �=� �{�
�
� � �s�e�r�v�e�r�U�r�l�:� �'�h�t�t�p�:�/�/�1�9�2�.�x�x�x�.�x�x�x�.�2�4�5�:�x�x�x�'�,�
�
� � �t�o�k�e�n�:� �'�x�x�x�'�,�
�
� � �p�r�o�j�e�c�t�I�d�:� �'�1�1�1�'�,�
�
� � �o�u�t�p�u�t�P�a�t�h�:� �'�.�/�s�r�c�/�a�p�i�'�
�
�}�;�
�
�
�
�/�/� ����S}T�NL��Spe
�
�c�o�n�s�t� �[�m�o�d�e� �=� �'�a�l�l�'�,� �.�.�.�i�d�s�]� �=� �p�r�o�c�e�s�s�.�a�r�g�v�.�s�l�i�c�e�(�2�)�;�
�
�
�
�/�/� �gbL�ub
�
�a�s�y�n�c� �f�u�n�c�t�i�o�n� �r�u�n�(�)� �{�
�
� � �c�o�n�s�t� �g�e�n�e�r�a�t�o�r� �=� �n�e�w� �Y�a�p�i�T�o�T�s�(�c�o�n�f�i�g�)�;�
�
�
�
� � �i�f� �(�m�o�d�e� �=�=�=� �'�a�l�l�'�)� �{�
�
� � � � �a�w�a�i�t� �g�e�n�e�r�a�t�o�r�.�g�e�n�e�r�a�t�e�A�l�l�(�)�;�
�
� � �}� �e�l�s�e� �{�
�
� � � � �f�o�r� �(�c�o�n�s�t� �i�d� �o�f� �i�d�s�)� �{�
�
� � � � � � �a�w�a�i�t� �g�e�n�e�r�a�t�o�r�.�g�e�n�e�r�a�t�e�S�i�n�g�l�e�(�i�d�)�;�
�
� � � � �}�
�
� � �}�
�
�}�
�
�
�
�r�u�n�(�)�.�c�a�t�c�h�(�c�o�n�s�o�l�e�.�e�r�r�o�r�)�;�
�
�
�
����
�
�
�
�
